diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-14 21:44:23 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-14 21:44:23 +0000 |
commit | def39682628f0b5575d61bf5b6ce259c5da11d0c (patch) | |
tree | 7d71381825a4976efa81157b184f673dd307cd36 | |
parent | f5fedc1282be886c84f573782c70d9dde50fcedc (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
-rw-r--r-- | filesize.c | 6 | ||||
-rw-r--r-- | ftos.c | 6 | ||||
-rw-r--r-- | kalashnikov.c | 2 | ||||
-rw-r--r-- | mandelbrot.c | 8 | ||||
-rw-r--r-- | messages.c | 2 | ||||
-rw-r--r-- | openpatch.c | 2 | ||||
-rw-r--r-- | sfread.c | 2 | ||||
-rw-r--r-- | sfwrite13~.c | 2 | ||||
-rw-r--r-- | streamin13~.c | 2 | ||||
-rw-r--r-- | streamout13~.c | 2 | ||||
-rw-r--r-- | strippath.c | 6 |
11 files changed, 20 insertions, 20 deletions
@@ -2,11 +2,11 @@ #include "m_pd.h" #include <sys/stat.h> #include <stdio.h> -#ifndef NT
+#ifndef NT #include <unistd.h> -#endif
+#endif -#ifdef NT +#ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) #endif @@ -1,13 +1,13 @@ #include "ext13.h" #include "m_pd.h" #include <sys/stat.h> -#include <stdio.h>
+#include <stdio.h> #ifndef NT #include <unistd.h> -#endif
+#endif #include <string.h> -#ifdef NT +#ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) #endif diff --git a/kalashnikov.c b/kalashnikov.c index f4ee3a1..be9a998 100644 --- a/kalashnikov.c +++ b/kalashnikov.c @@ -1,7 +1,7 @@ #include "ext13.h" #include "m_pd.h" /*#include "g_canvas.h"*/ -#ifdef NT +#ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) #endif diff --git a/mandelbrot.c b/mandelbrot.c index 2c1d3f0..67ef249 100644 --- a/mandelbrot.c +++ b/mandelbrot.c @@ -3,11 +3,11 @@ #include <sys/stat.h> #include <stdio.h> #include <string.h> -#ifndef NT
-#include <unistd.h>
-#endif
+#ifndef NT +#include <unistd.h> +#endif -#ifdef NT +#ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) #endif @@ -1,5 +1,5 @@ #include "m_pd.h" -#ifdef NT +#ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) #endif diff --git a/openpatch.c b/openpatch.c index f1979bd..151f0fd 100644 --- a/openpatch.c +++ b/openpatch.c @@ -14,7 +14,7 @@ #endif #include <string.h> -#ifdef NT +#ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) #endif @@ -1,6 +1,6 @@ #include "m_pd.h" #include "g_canvas.h" -#ifdef NT +#ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) #endif diff --git a/sfwrite13~.c b/sfwrite13~.c index f271ca9..08dcdcc 100644 --- a/sfwrite13~.c +++ b/sfwrite13~.c @@ -4,7 +4,7 @@ #include "m_pd.h"
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
diff --git a/streamin13~.c b/streamin13~.c index f827694..c950b0e 100644 --- a/streamin13~.c +++ b/streamin13~.c @@ -19,7 +19,7 @@ -#ifdef NT +#ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) #endif diff --git a/streamout13~.c b/streamout13~.c index 95bdfdf..15b7440 100644 --- a/streamout13~.c +++ b/streamout13~.c @@ -13,7 +13,7 @@ #include <winsock.h> #endif -#ifdef NT +#ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) #endif 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 |