Compatibility improvements.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2255 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -14,5 +14,17 @@
|
||||
|
||||
#define countof(a) ( sizeof(a)/sizeof(*a) )
|
||||
|
||||
#ifdef __WIN32__
|
||||
# define HAVE_STRICMP
|
||||
# define HAVE_STRUPR
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef HAVE_STRICMP
|
||||
# define stricmp strcasecmp
|
||||
#else
|
||||
# define strcasecmp stricmp
|
||||
#endif
|
||||
|
||||
#endif /* _PORT_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user