summaryrefslogtreecommitdiff
path: root/zendian.h
diff options
context:
space:
mode:
authorPavel P <pavlov.pavel@gmail.com>2020-04-20 16:19:30 +0600
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-06-08 15:09:17 +0200
commit6dfff29c01a99e1fe9238a405988874736961953 (patch)
tree9f7eb80c675e98cac3210f04620a29c347ed3b1f /zendian.h
parent145ba9b86bfd64b206d02d70bddda1bbe21c8696 (diff)
Clean up windows defines, use _WIN32
+ replaced WIN32 with _WIN32 + removed unused WINDOWS/_WINDOWS defines + no need to test for __MINGW__, as _WIN32 is also defined
Diffstat (limited to 'zendian.h')
-rw-r--r--zendian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zendian.h b/zendian.h
index 4236b13..54718ed 100644
--- a/zendian.h
+++ b/zendian.h
@@ -24,7 +24,7 @@
# endif
#elif defined(__MINGW32__)
# include <sys/param.h>
-#elif defined(WIN32) || defined(_WIN32)
+#elif defined(_WIN32)
# define LITTLE_ENDIAN 1234
# define BIG_ENDIAN 4321
# if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_IA64) || defined (_M_ARM) || defined (_M_ARM64)