Changed ifdef WIN32 to WIN32 or _WIN32 (#3022)

This commit is contained in:
toppa102
2020-08-28 21:27:31 +03:00
committed by GitHub
parent 2f294549a7
commit 07393d6237

View File

@@ -189,7 +189,7 @@
// ssize_t is a POSIX type.
#if defined(WIN32)
#if defined(WIN32) || defined(_WIN32)
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
@@ -200,7 +200,7 @@ typedef SSIZE_T ssize_t;
# define UTILS_EMPTY_BASES
#endif
#if defined(WIN32)
#if defined(WIN32) || defined(_WIN32)
#define IMPORTSYMB __declspec(dllimport)
#else
#define IMPORTSYMB