| Christian Heimes | 0a8143f | 2007-12-18 23:22:54 +0000 | [diff] [blame] | 1 | #ifndef Py_STRCMP_H | 
 | 2 | #define Py_STRCMP_H | 
 | 3 |  | 
 | 4 | #ifdef __cplusplus | 
 | 5 | extern "C" { | 
 | 6 | #endif | 
 | 7 |  | 
 | 8 | PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); | 
 | 9 | PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); | 
 | 10 |  | 
| Andrew MacIntyre | 41c56b5 | 2008-09-22 14:23:45 +0000 | [diff] [blame] | 11 | #if defined(MS_WINDOWS) || defined(PYOS_OS2) | 
| Christian Heimes | 0a8143f | 2007-12-18 23:22:54 +0000 | [diff] [blame] | 12 | #define PyOS_strnicmp strnicmp | 
 | 13 | #define PyOS_stricmp stricmp | 
 | 14 | #else | 
 | 15 | #define PyOS_strnicmp PyOS_mystrnicmp | 
 | 16 | #define PyOS_stricmp PyOS_mystricmp | 
 | 17 | #endif | 
 | 18 |  | 
 | 19 | #ifdef __cplusplus | 
 | 20 | } | 
 | 21 | #endif | 
 | 22 |  | 
 | 23 | #endif /* !Py_STRCMP_H */ |