Staging
v0.5.1
https://github.com/python/cpython
Revision ecd572ae7abf22460296e0a306080d1f5209c73f authored by Miss Islington (bot) on 03 January 2020, 03:44:03 UTC, committed by GitHub on 03 January 2020, 03:44:03 UTC
(cherry picked from commit 32f1443aa98db769d87db497b45bd0dcb732445b)

Co-authored-by: Ned Deily <nad@python.org>
1 parent aa5b196
Raw File
Tip revision: ecd572ae7abf22460296e0a306080d1f5209c73f authored by Miss Islington (bot) on 03 January 2020, 03:44:03 UTC
Update copyright year in macOS installer license copy (GH-17806)
Tip revision: ecd572a
pystrcmp.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 *);

#if defined(MS_WINDOWS) || defined(PYOS_OS2)
#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 */
back to top