diff options
Diffstat (limited to 'contrib/tools/python3/src/Include/pystrcmp.h')
| -rw-r--r-- | contrib/tools/python3/src/Include/pystrcmp.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/contrib/tools/python3/src/Include/pystrcmp.h b/contrib/tools/python3/src/Include/pystrcmp.h index 5944b6a5c4c..edb12397e3c 100644 --- a/contrib/tools/python3/src/Include/pystrcmp.h +++ b/contrib/tools/python3/src/Include/pystrcmp.h @@ -1,23 +1,23 @@ -#ifndef Py_STRCMP_H -#define Py_STRCMP_H - -#ifdef __cplusplus -extern "C" { -#endif - -PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); -PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); - -#ifdef MS_WINDOWS -#define PyOS_strnicmp strnicmp -#define PyOS_stricmp stricmp -#else -#define PyOS_strnicmp PyOS_mystrnicmp -#define PyOS_stricmp PyOS_mystricmp -#endif - -#ifdef __cplusplus -} -#endif - -#endif /* !Py_STRCMP_H */ +#ifndef Py_STRCMP_H +#define Py_STRCMP_H + +#ifdef __cplusplus +extern "C" { +#endif + +PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); +PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); + +#ifdef MS_WINDOWS +#define PyOS_strnicmp strnicmp +#define PyOS_stricmp stricmp +#else +#define PyOS_strnicmp PyOS_mystrnicmp +#define PyOS_stricmp PyOS_mystricmp +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* !Py_STRCMP_H */ |
