summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-20 11:18:46 +0000
committertruelight <truelight@openttd.org>2006-08-20 11:18:46 +0000
commitb854750c044c226166b72778cdea86ae5b8f2644 (patch)
treeaa98c45a8db2ac66b87d568e9e2960425b98f82a
parent17127970fea98ba79260c256d948e5cc2240c45a (diff)
downloadopenttd-b854750c044c226166b72778cdea86ae5b8f2644.tar.xz
(svn r5969) -Fix r5968: windows doesn't know strncasecmp, but called it strnicmp (michi_cc)
-rw-r--r--stdafx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdafx.h b/stdafx.h
index cb913dc59..790a77e32 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -155,6 +155,7 @@
# endif
# define strcasecmp stricmp
+# define strncasecmp strnicmp
// suppress: warning C4005: 'offsetof' : macro redefinition (VC8)
# include <stddef.h>
#endif /* defined(_MSC_VER) */