clang 20.0.0 (based on r547379) from build 12806354. Bug: http://b/379133546 Test: N/A Change-Id: I2eb8938af55d809de674be63cb30cf27e801862b Upstream-Commit: ad834e67b1105d15ef907f6255d4c96e8e733f57
24 lines
436 B
C
24 lines
436 B
C
#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 */
|