summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@zerotier.com>2017-07-18 15:59:11 -0700
committerGrant Limberg <grant.limberg@zerotier.com>2017-07-18 15:59:11 -0700
commitfc7728212f261b081343ee4b9e801cee0d60ad37 (patch)
treec999e98f81f5e50990f7670eb294085c49450aea
parent31785f7f6ec27e826efc3cc2b45979e5d58f37bb (diff)
downloadinfinitytier-fc7728212f261b081343ee4b9e801cee0d60ad37.tar.gz
infinitytier-fc7728212f261b081343ee4b9e801cee0d60ad37.zip
Fix ifndef on Windows
-rw-r--r--controller/JSONDB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/JSONDB.cpp b/controller/JSONDB.cpp
index ad9ba248..10be1380 100644
--- a/controller/JSONDB.cpp
+++ b/controller/JSONDB.cpp
@@ -19,7 +19,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
-#ifndef __WINDOWS__
+#ifndef _WIN32
#include <unistd.h>
#include <fcntl.h>
#include <sys/time.h>