forked from mirror/OpenTTD
(svn r5969) -Fix r5968: windows doesn't know strncasecmp, but called it strnicmp (michi_cc)
This commit is contained in:
1
stdafx.h
1
stdafx.h
@@ -155,6 +155,7 @@
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
# define strcasecmp stricmp
|
# define strcasecmp stricmp
|
||||||
|
# define strncasecmp strnicmp
|
||||||
// suppress: warning C4005: 'offsetof' : macro redefinition (VC8)
|
// suppress: warning C4005: 'offsetof' : macro redefinition (VC8)
|
||||||
# include <stddef.h>
|
# include <stddef.h>
|
||||||
#endif /* defined(_MSC_VER) */
|
#endif /* defined(_MSC_VER) */
|
||||||
|
Reference in New Issue
Block a user