Преглед на файлове

ENABLE_LOCALES: Actually disable the include as well

Max Bruckner преди 7 години
родител
ревизия
96c33e5abb
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      cJSON.c

+ 3 - 0
cJSON.c

@@ -44,7 +44,10 @@
 #include <float.h>
 #include <limits.h>
 #include <ctype.h>
+
+#ifdef ENABLE_LOCALES
 #include <locale.h>
+#endif
 
 #if defined(_MSC_VER)
 #pragma warning (pop)