summaryrefslogtreecommitdiff
path: root/stdafx.h
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
commitff36e72422049bb9acdbc3c3d86a4cc8e10497b9 (patch)
treeaa98c45a8db2ac66b87d568e9e2960425b98f82a /stdafx.h
parentcc7680e0f15a5fb37cbdc0fba9c2a466842a8ab2 (diff)
downloadopenttd-ff36e72422049bb9acdbc3c3d86a4cc8e10497b9.tar.xz
(svn r5969) -Fix r5968: windows doesn't know strncasecmp, but called it strnicmp (michi_cc)
Diffstat (limited to 'stdafx.h')
-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) */