symbian-qemu-0.9.1-12/python-2.6.1/Include/pystrcmp.h
author Gareth Stockwell <gareth.stockwell@accenture.com>
Thu, 09 Sep 2010 12:06:21 +0100
changeset 108 78b83e1454a6
parent 1 2fb8b9db1c86
permissions -rw-r--r--
Allow NVM device to be built with MinGW

#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 */