aboutsummaryrefslogtreecommitdiff
path: root/shared/common
diff options
context:
space:
mode:
Diffstat (limited to 'shared/common')
-rw-r--r--shared/common/mifi.c4
-rw-r--r--shared/common/port.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/shared/common/mifi.c b/shared/common/mifi.c
index 4da9f55..44b9483 100644
--- a/shared/common/mifi.c
+++ b/shared/common/mifi.c
@@ -2,7 +2,7 @@
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
-#ifdef NT
+#ifdef _WIN32
#include <io.h>
#else
#include <unistd.h>
@@ -27,7 +27,7 @@ typedef u_int16_t uint16;
#ifndef uchar
typedef u_int8_t uchar;
#endif
-#elif defined(NT)
+#elif defined(_WIN32)
#ifndef uint32
typedef unsigned long uint32;
#endif
diff --git a/shared/common/port.c b/shared/common/port.c
index ffce677..6fdcaef 100644
--- a/shared/common/port.c
+++ b/shared/common/port.c
@@ -10,7 +10,7 @@
#ifdef UNIX
#include <unistd.h>
#endif
-#ifdef NT
+#ifdef _WIN32
#include <io.h>
#endif
#include <stdio.h>