Thread: [Brlcad-commits] CVS: brlcad/src/other/URToolkit/tools into.c,1.4,1.5
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Sean M. <br...@us...> - 2005-05-28 02:15:37
|
Update of /cvsroot/brlcad/brlcad/src/other/URToolkit/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv834/src/other/URToolkit/tools Modified Files: into.c Log Message: convert WIN32 define checks to _WIN32 since the latter is one of the defaults provided by MSVC whereas the prior is not. remove some of them related to header inclusions using HAVE_ defines instead. Index: into.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/other/URToolkit/tools/into.c,v retrieving revision 1.4 retrieving revision 1.5 diff -w -u -r1.4 -r1.5 --- into.c 27 Apr 2005 02:02:13 -0000 1.4 +++ into.c 28 May 2005 02:14:57 -0000 1.5 @@ -105,7 +105,7 @@ #ifdef HAVE_STRERROR fprintf(stderr, "into: %s, \"%s\" not modified\n", strerror(errno), argv[1]); #else -# ifdef WIN32 +# ifdef _WIN32 fprintf(stderr, "into: %s, \"%s\" not modified\n", _sys_errlist[errno], argv[1]); # else fprintf(stderr, "into: %s, \"%s\" not modified\n", sys_errlist[errno], argv[1]); |