]> granicus.if.org Git - graphviz/commitdiff
Change uses of MSWIN32 to WIN32
authorerg <devnull@localhost>
Thu, 27 Jul 2006 02:20:56 +0000 (02:20 +0000)
committererg <devnull@localhost>
Thu, 27 Jul 2006 02:20:56 +0000 (02:20 +0000)
lib/common/diagen.c
lib/common/input.c
lib/common/mpgen.c
lib/common/psusershape.c

index 3a3d7fae75567ef6fb6c0a42baf037363dc1ba6d..8efac87b8917fc1dfc2f50d30938a55737bdf8e7 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdarg.h>
 #ifdef HAVE_LIBZ
 #include <zlib.h>
-#ifdef MSWIN32
+#ifdef WIN32
 #include <io.h>
 #endif
 #endif
index 4d013e97656177e67413822afc43aac4e4161076..9224da669fce654870ad3d559fcc52c39752cc05 100644 (file)
@@ -127,7 +127,7 @@ static char* dotneato_basename (char* path)
 {
     char* s = path;
     if (*s == '\0') return path; /* empty string */
-#ifdef MSWIN32
+#ifdef WIN32
     /* On Windows, executables, by convention, end in ".exe". Thus,
      * this may be part of the path name and must be removed for
      * matching to work.
index 915887854f5c478507954147a44a9b759b6588e3..ce9d6ece19274074f28c50520a2251ef18606288 100644 (file)
@@ -18,7 +18,7 @@
  *  Adapted from psgen.c.  See 1st_read.mp.
  */
 #include "render.h"
-#ifndef MSWIN32
+#ifndef WIN32
 #include <unistd.h>
 #endif
 #include <sys/stat.h>
index 62cba4619fb0cea62ca6190f57c6820419ee0274..268a359fdbc64f23e6e5f06a65189e0e945bfe14 100644 (file)
@@ -14,7 +14,7 @@
 *              AT&T Research, Florham Park NJ             *
 **********************************************************/
 
-#ifndef MSWIN32
+#ifndef WIN32
 #include <unistd.h>
 #endif