summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-01-26 17:32:49 +0000
committerDarkvater <Darkvater@openttd.org>2006-01-26 17:32:49 +0000
commit0855449106f7f634c484f0d953fda5b794a85512 (patch)
treed1ba94d3567b91d189dc8dc48dc71233e0b43012 /stdafx.h
parent227769d709d53f4ebceaf822e9fd946fd3e8cd48 (diff)
downloadopenttd-0855449106f7f634c484f0d953fda5b794a85512.tar.xz
(svn r3442) - Fix: Only windows has stricmp. So define strcasecmp to stricmp when using MSVC
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 5318cc527..0589002a6 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -144,6 +144,7 @@
# endif
# endif
+# define strcasecmp stricmp
#endif /* defined(_MSC_VER) */