瀏覽代碼

Fix ifndef on Windows

Grant Limberg 8 年之前
父節點
當前提交
fc7728212f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/JSONDB.cpp

+ 1 - 1
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>