Win32 fixes

This commit is contained in:
Sam Lantinga
2006-03-13 02:06:33 +00:00
parent b23eae2079
commit 2b03f1c722
7 changed files with 10 additions and 11 deletions

View File

@@ -117,7 +117,7 @@
#undef HAVE_ATOF
#undef HAVE_STRCMP
#undef HAVE_STRNCMP
#undef HAVE_STRICMP
#undef HAVE__STRICMP
#undef HAVE_STRCASECMP
#undef HAVE_STRNCASECMP
#undef HAVE_SSCANF

View File

@@ -102,8 +102,7 @@ typedef unsigned int uintptr_t;
#define HAVE_ATOF 1
#define HAVE_STRCMP 1
#define HAVE_STRNCMP 1
#define HAVE_STRICMP 1
#define HAVE_STRCASECMP 1
#define HAVE__STRICMP 1
#define HAVE_SSCANF 1
#else
#define HAVE_STDARG_H 1

View File

@@ -515,8 +515,8 @@ extern DECLSPEC int SDLCALL SDL_strncmp(const char *str1, const char *str2, size
#if HAVE_STRCASECMP
#define SDL_strcasecmp strcasecmp
#elif HAVE_STRICMP
#define SDL_strcasecmp stricmp
#elif HAVE__STRICMP
#define SDL_strcasecmp _stricmp
#else
extern DECLSPEC int SDLCALL SDL_strcasecmp(const char *str1, const char *str2);
#endif