소스 검색

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)