aboutsummaryrefslogtreecommitdiff
path: root/signal/sfwrite~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-03 11:04:57 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-03 11:04:57 +0000
commit63fd1d42168d43bb315edfcb6ac7b77db41fcd5f (patch)
tree1074056ad9daac0d323043255aa143721c760a42 /signal/sfwrite~.c
parent2accab0d836db1fdaf41ffb92cd7ce27467bfebb (diff)
updated windows macro to automatically defined _WIN32 to smooth Windows building
svn path=/trunk/externals/ggee/; revision=7890
Diffstat (limited to 'signal/sfwrite~.c')
-rwxr-xr-xsignal/sfwrite~.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/signal/sfwrite~.c b/signal/sfwrite~.c
index 1b5ed05..dfbdbec 100755
--- a/signal/sfwrite~.c
+++ b/signal/sfwrite~.c
@@ -9,7 +9,7 @@
#include <stdio.h>
#include <string.h>
-#ifndef NT
+#ifndef _WIN32
#include <unistd.h>
#include <sys/mman.h>
#else
@@ -19,7 +19,7 @@
#include <sys/stat.h>
-#ifdef NT
+#ifdef _WIN32
#define BINREADMODE "rb"
#define OPENPARAMS O_WRONLY | O_CREAT | O_TRUNC
#else