瀏覽代碼

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)