aboutsummaryrefslogtreecommitdiff
path: root/mandelbrot.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 /mandelbrot.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 'mandelbrot.c')
-rw-r--r--mandelbrot.c8
1 files changed, 4 insertions, 4 deletions
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