summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@solidstatenetworks.com>2020-06-08 18:56:25 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-06-09 08:20:09 +0200
commit88cdf333d76c18e30a67548331f57ef5dadedbfa (patch)
tree93a0151def6afa2bb7afc47d2f969e6218788316 /test
parent4c340f799bdbaf21f1b35926d9db67082935953c (diff)
downloadProject-Tick-88cdf333d76c18e30a67548331f57ef5dadedbfa.tar.gz
Project-Tick-88cdf333d76c18e30a67548331f57ef5dadedbfa.zip
Fixed defined WIN32 in switchlevels should be _WIN32.
Diffstat (limited to 'test')
-rw-r--r--test/switchlevels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/switchlevels.c b/test/switchlevels.c
index ce5bfe5fcc..11635755e8 100644
--- a/test/switchlevels.c
+++ b/test/switchlevels.c
@@ -13,7 +13,7 @@
#include <stdlib.h>
#include <string.h>
-#if defined(WIN32) || defined(__CYGWIN__)
+#if defined(_WIN32) || defined(__CYGWIN__)
# include <fcntl.h>
# include <io.h>
# define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)