[lugaru] [PATCH] Use POSIX strcasecmp() on non-Windows systems.
Thierry Reding
thierry at gilfi.de
Thu May 13 08:50:10 EDT 2010
My system (Debian sid) doesn't have stricmp(), so the following patch is
needed to build Lugaru.
Cheers,
Thierry
diff -r 830d3dd5d2ee Source/OpenGL_Windows.cpp
--- a/Source/OpenGL_Windows.cpp Thu May 13 03:05:00 2010 -0400
+++ b/Source/OpenGL_Windows.cpp Thu May 13 14:43:47 2010 +0200
@@ -27,6 +27,8 @@
#undef UINT8
#undef UINT16
#undef boolean
+#else
+#define stricmp strcasecmp
#endif
#define USE_DEVIL 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://icculus.org/pipermail/lugaru/attachments/20100513/e1ab7240/attachment.pgp>
More information about the lugaru
mailing list