]> git.mxchange.org Git - simgear.git/commitdiff
Add a new function alias for MSVC: strcasecmp -> stricmp
authorFrederic Bouvier <fredfgfs01@free.fr>
Mon, 19 Jul 2010 20:36:01 +0000 (22:36 +0200)
committerFrederic Bouvier <fredfgfs01@free.fr>
Mon, 19 Jul 2010 20:36:01 +0000 (22:36 +0200)
simgear/compiler.h

index 939d9f319c6ad18b2942f7125ebd7fc6504688e4..e29a20e37b38724a556283e6188b44a316b97c3b 100644 (file)
@@ -67,6 +67,7 @@
 #      define vsnprintf _vsnprintf
 #    endif
 #    define copysign _copysign
+#    define strcasecmp stricmp
 
 #    pragma warning(disable: 4786) // identifier was truncated to '255' characters
 #    pragma warning(disable: 4244) // conversion from double to float