diff src/stdlib/SDL_string.c @ 1512:845b1619c8f6

Added _strnicmp support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 13 Mar 2006 02:12:39 +0000
parents 720f8bb49d7d
children 14717b52abc0
line wrap: on
line diff
--- a/src/stdlib/SDL_string.c	Mon Mar 13 02:12:15 2006 +0000
+++ b/src/stdlib/SDL_string.c	Mon Mar 13 02:12:39 2006 +0000
@@ -678,7 +678,7 @@
 }
 #endif
 
-#ifndef HAVE_STRNCASECMP
+#if !defined(HAVE_STRNCASECMP) && !defined(HAVE__STRNICMP)
 int SDL_strncasecmp(const char *str1, const char *str2, size_t maxlen)
 {
     char a = 0;