mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r5969) -Fix r5968: windows doesn't know strncasecmp, but called it strnicmp (michi_cc)
This commit is contained in:
parent
cc7680e0f1
commit
ff36e72422
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) */
|
||||||
|
|
Loading…
Reference in New Issue