aboutsummaryrefslogtreecommitdiff
path: root/src/msgfile.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-09 12:17:03 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-09 12:17:03 +0000
commit036e1f6c55ca27059c9ece1a3e29e80523cb6a40 (patch)
treeccb7938f8ffd5da355709b3420923c901f551906 /src/msgfile.c
parente3c64e6123d6e9af2946fe1ddeb344fb9855fbd7 (diff)
replaced MACOSX by __APPLE__
replaced NT by __WIN32__ (defined by mingw, but NOT by msvc) svn path=/trunk/externals/zexy/; revision=3139
Diffstat (limited to 'src/msgfile.c')
-rw-r--r--src/msgfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msgfile.c b/src/msgfile.c
index 245eea7..01f6736 100644
--- a/src/msgfile.c
+++ b/src/msgfile.c
@@ -28,7 +28,7 @@
#ifdef linux
#include <unistd.h>
#endif
-#ifdef NT
+#ifdef __WIN32__
#include <io.h>
#endif
@@ -525,7 +525,7 @@ static void msgfile_read(t_msgfile *x, t_symbol *filename, t_symbol *format)
t_binbuf *bbuf = binbuf_new();
-#ifdef NT
+#ifdef __WIN32__
rmode |= O_BINARY;
#endif