aboutsummaryrefslogtreecommitdiff
path: root/strippath.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-14 21:44:23 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-14 21:44:23 +0000
commitdef39682628f0b5575d61bf5b6ce259c5da11d0c (patch)
tree7d71381825a4976efa81157b184f673dd307cd36 /strippath.c
parentf5fedc1282be886c84f573782c70d9dde50fcedc (diff)
these pragmas are only used for MSVC, not MinGW or Cygwin, therefore changing the define from NT to _MSC_VER
svn path=/trunk/externals/ext13/; revision=3901
Diffstat (limited to 'strippath.c')
-rw-r--r--strippath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/strippath.c b/strippath.c
index f5bb1a6..d719bc4 100644
--- a/strippath.c
+++ b/strippath.c
@@ -2,12 +2,12 @@
#include "m_pd.h"
#include <sys/stat.h>
#include <stdio.h>
-#ifndef NT
+#ifndef NT
#include <unistd.h>
-#endif
+#endif
#include <string.h>
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif