Author: spitzak
Date: 2007-10-17 13:54:58 -0700 (Wed, 17 Oct 2007)
New Revision: 5961
Log:
Newer VC++ was producing warnings about not putting underscore in front
of Unix functions.


Modified:
   trunk/fltk/string.h

Modified: trunk/fltk/string.h
===================================================================
--- trunk/fltk/string.h 2007-10-17 20:42:26 UTC (rev 5960)
+++ trunk/fltk/string.h 2007-10-17 20:54:58 UTC (rev 5961)
@@ -47,8 +47,8 @@
 /* Windows has equivalent functions, but being Microsoft they added
    gratuitoius changes to the names to stop code from being portable: */
 #if (defined(_WIN32) && !defined(__CYGWIN__)) || defined(__EMX__)
-# define strcasecmp(s,t)       stricmp(s, t)
-# define strncasecmp(s,t,n)    strnicmp(s, t, n)
+# define strcasecmp(s,t)       _stricmp(s, t)
+# define strncasecmp(s,t,n)    _strnicmp(s, t, n)
 # define vsnprintf             _vsnprintf
 # define snprintf              _snprintf
 #endif

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to