Преглед изворни кода

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)