The Gaudi Framework  v30r3 (a5ef0a68)
strcasecmp.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_STRCASECMP_H
2 #define GAUDIKERNEL_STRCASECMP_H
3 
4 #ifdef _WIN32
5 #include <cstring>
6 inline int strcasecmp( const char* s1, const char* s2 ) { return ::_stricmp( s1, s2 ); }
7 inline int strncasecmp( const char* s1, const char* s2, size_t n ) { return ::_strnicmp( s1, s2, n ); }
8 #else // Unix uses string.h
9 #include <string.h>
10 #endif
11 
12 #endif // GAUDIKERNEL_STRCASECMP_H