Bläddra i källkod

ENABLE_LOCALES: Actually disable the include as well

Max Bruckner 7 år sedan
förälder
incheckning
96c33e5abb
1 ändrade filer med 3 tillägg och 0 borttagningar
  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)