mirror of
https://github.com/json-c/json-c.git
synced 2026-04-02 03:49:06 +08:00
rename WIN32 to _WIN32
The latter is the proper macro defined by Windows headers. Fixes compilation under at least clang-cl which mandates function declarations. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
#undef NDEBUG
|
||||
#endif
|
||||
#include "strerror_override.h"
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <io.h>
|
||||
#include <windows.h>
|
||||
#endif /* defined(WIN32) */
|
||||
#endif /* defined(_WIN32) */
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
#include <stddef.h>
|
||||
|
||||
Reference in New Issue
Block a user