mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-11-14 19:03:32 +00:00
MSVC: Disable warning about single line comments in system headers
This commit is contained in:
1 parent
217ab02612
commit
0d675cb048
2 files changed
+18
No files matched your search
@@ -28,11 +28,21 @@
|
||||
#ifdef __GNUCC__
|
||||
#pragma GCC visibility push(default)
|
||||
#endif
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning (push)
|
||||
/* disable warning about single line comments in system headers */
|
||||
#pragma warning (disable : 4001)
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <limits.h>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning (pop)
|
||||
#endif
|
||||
#ifdef __GNUCC__
|
||||
#pragma GCC visibility pop
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user