aboutsummaryrefslogtreecommitdiff
path: root/shared/common
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 17:19:36 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 17:19:36 +0000
commitc9d724b6da2ae3aceae3896a669420ff3c804f0d (patch)
tree2722332132223a123caa6ba44ec0899e64cab1c4 /shared/common
parent44e4dadbfdd1118ff5a64d6195eaa168c29405a3 (diff)
replace NT with proper macro: _WIN32 (http://msdn.microsoft.com/en-us/library/ff540443.aspx)
svn path=/trunk/externals/miXed/; revision=16956
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>