diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-09-24 23:05:22 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-09-24 23:05:22 +0000 |
commit | 3a7e12ea0f7a96e74d4b9b4431314e0f5720590d (patch) | |
tree | 213438334abfed7bb9c4137780f4ab2b51d90562 /sfwrite13~.c | |
parent | 090323d7f7012084632c13b9ffdd88ce8817618a (diff) |
MinGW cleanups
svn path=/trunk/externals/ext13/; revision=6013
Diffstat (limited to 'sfwrite13~.c')
-rw-r--r-- | sfwrite13~.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfwrite13~.c b/sfwrite13~.c index 08dcdcc..48720df 100644 --- a/sfwrite13~.c +++ b/sfwrite13~.c @@ -11,7 +11,7 @@ #include <stdio.h>
#include <string.h>
-#ifndef NT
+#ifndef _WIN32
#include <unistd.h>
#include <sys/mman.h>
#else
@@ -21,7 +21,7 @@ #include <sys/stat.h>
-#ifdef NT
+#ifdef _WIN32
#define BINREADMODE "rb"
#define OPENPARAMS O_WRONLY | O_CREAT | O_TRUNC
#else
|