fix Windows compile (er, I'd have used strcasecmp if I could have). I'll

add a check for this in a minute.
This commit is contained in:
Glenn Maynard
2003-07-03 18:55:35 +00:00
parent c56c8ab5a3
commit 8b7a62b89a
+2 -2
View File
@@ -244,8 +244,8 @@ struct char_traits_char_nocase: public char_traits<char>
{ return toupper(c1) < toupper(c2); }
static int compare( const char* s1, const char* s2, size_t n ) {
//return memicmp( s1, s2, n );
return strncasecmp( s1, s2, n );
return memicmp( s1, s2, n );
//return strncasecmp( s1, s2, n );
}
static inline char fasttoupper(char a)