mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
fa20edc44d
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
18 lines
432 B
C
18 lines
432 B
C
#ifndef Py_STRCMP_H
|
|
#define Py_STRCMP_H
|
|
#include "third_party/python/Include/pyport.h"
|
|
COSMOPOLITAN_C_START_
|
|
|
|
int PyOS_mystrnicmp(const char *, const char *, Py_ssize_t);
|
|
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
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !Py_STRCMP_H */
|