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
commitc8a2c7ae9452de0f86fb3036becccc86f90a9a40 (patch)
treed1ba94d3567b91d189dc8dc48dc71233e0b43012 /stdafx.h
parent070edf2f73efab7e72a0a3671922cbb21ec9c309 (diff)
downloadopenttd-c8a2c7ae9452de0f86fb3036becccc86f90a9a40.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) */