From: erg Date: Thu, 27 Jul 2006 02:21:17 +0000 (+0000) Subject: Change uses of MSWIN32 to WIN32 X-Git-Tag: LAST_LIBGRAPH~32^2~6039 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61dec19e762b87c3be865898349f53e8a65d77f8;p=graphviz Change uses of MSWIN32 to WIN32 --- diff --git a/cmd/dot/dot.c b/cmd/dot/dot.c index 0a3485f2b..8d7dbf42b 100644 --- a/cmd/dot/dot.c +++ b/cmd/dot/dot.c @@ -53,7 +53,7 @@ char *Info[] = { static GVC_t *Gvc; static graph_t * G; -#ifndef MSWIN32 +#ifndef WIN32 static void intr(int s) { if (G) @@ -146,7 +146,7 @@ int main(int argc, char **argv) Gvc = gvNEWcontext(Info, gvUsername()); gvParseArgs(Gvc, argc, argv); -#ifndef MSWIN32 +#ifndef WIN32 signal(SIGUSR1, gvToggle); signal(SIGINT, intr); #ifndef NO_FPERR diff --git a/lib/gd/gdft.c b/lib/gd/gdft.c index eac9379ce..4c814db6e 100644 --- a/lib/gd/gdft.c +++ b/lib/gd/gdft.c @@ -17,7 +17,7 @@ #include "gdhelpers.h" #include "entities.h" -/* 2.0.10: WIN32, not MSWIN32 */ +/* 2.0.10: WIN32 */ #ifndef WIN32 #include #else diff --git a/lib/graph/attribs.c b/lib/graph/attribs.c index 5b94b4698..52fefe22e 100644 --- a/lib/graph/attribs.c +++ b/lib/graph/attribs.c @@ -256,7 +256,7 @@ void agcopydict(Agdict_t * to_dict, Agdict_t * from_dict) b = agNEWsym(to_dict, a->name, a->value); b->printed = a->printed; b->fixed = a->fixed; -#ifdef MSWIN32 +#ifdef WIN32 /* Microsoft C is a thing of wonder. */ fprintf(stderr, "", a->name, a->value); #endif diff --git a/lib/gvc/gvusershape.c b/lib/gvc/gvusershape.c index af3818772..f4f8107ec 100644 --- a/lib/gvc/gvusershape.c +++ b/lib/gvc/gvusershape.c @@ -289,7 +289,7 @@ static usershape_t *gvusershape_open (char *name) us->name = name; if ((fn = safefile(name))) { -#ifndef MSWIN32 +#ifndef WIN32 us->f = fopen(fn, "r"); #else us->f = fopen(fn, "rb"); diff --git a/lib/neatogen/neatoinit.c b/lib/neatogen/neatoinit.c index 72c327069..a81959225 100644 --- a/lib/neatogen/neatoinit.c +++ b/lib/neatogen/neatoinit.c @@ -20,7 +20,7 @@ #endif #include -#ifndef MSWIN32 +#ifndef WIN32 #include #endif #include "neato.h" diff --git a/lib/neatogen/stuff.c b/lib/neatogen/stuff.c index 77d0391a5..33f41140b 100644 --- a/lib/neatogen/stuff.c +++ b/lib/neatogen/stuff.c @@ -22,7 +22,7 @@ #include "neato.h" #include "stress.h" #include -#ifndef MSWIN32 +#ifndef WIN32 #include #endif diff --git a/plugin/core/gvrender_core_fig.c b/plugin/core/gvrender_core_fig.c index 8e04df4ae..581c59ef9 100644 --- a/plugin/core/gvrender_core_fig.c +++ b/plugin/core/gvrender_core_fig.c @@ -23,7 +23,7 @@ #include #include -#ifdef MSWIN32 +#ifdef WIN32 #include #endif diff --git a/plugin/core/gvrender_core_ps.c b/plugin/core/gvrender_core_ps.c index 7339291db..e24da6817 100644 --- a/plugin/core/gvrender_core_ps.c +++ b/plugin/core/gvrender_core_ps.c @@ -24,7 +24,7 @@ #ifdef HAVE_LIBZ #include -#ifdef MSWIN32 +#ifdef WIN32 #include #endif #endif diff --git a/plugin/core/gvrender_core_svg.c b/plugin/core/gvrender_core_svg.c index a3b138a9f..57f2b510d 100644 --- a/plugin/core/gvrender_core_svg.c +++ b/plugin/core/gvrender_core_svg.c @@ -25,7 +25,7 @@ #ifdef HAVE_LIBZ #include #endif -#ifdef MSWIN32 +#ifdef WIN32 #include #endif diff --git a/plugin/gd/gvloadimage_gd.c b/plugin/gd/gvloadimage_gd.c index 6b11bddb0..50ef8742d 100644 --- a/plugin/gd/gvloadimage_gd.c +++ b/plugin/gd/gvloadimage_gd.c @@ -24,7 +24,7 @@ #ifdef HAVE_LIBZ #include -#ifdef MSWIN32 +#ifdef WIN32 #include #endif #endif