Add compile-time switch for OTP-20 string funcs

Allows support for Unicode data, and prevents compile warnings that will
start with OTP-20.
This commit is contained in:
Fred Hebert 2017-11-01 11:26:17 -04:00
parent fa1ec76a9b
commit f8f72b7cc5
4 changed files with 28 additions and 4 deletions

View file

@ -14,6 +14,7 @@
{platform_define, "^R1[4|5]", deprecated_crypto},
{platform_define, "^1[8|9]", rand_module},
{platform_define, "^2", rand_module},
{platform_define, "^2", unicode_str},
debug_info,
warnings_as_errors]}.