Staging
v0.5.1
https://github.com/python/cpython
Revision c1bde6e14dd03b40f11fd3481eb7c40247e27a4d authored by Ronald Oussoren on 18 October 2009, 07:08:27 UTC, committed by Ronald Oussoren on 18 October 2009, 07:08:27 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75482 | ronald.oussoren | 2009-10-18 09:07:00 +0200 (Sun, 18 Oct 2009) | 3 lines

  Fix for issue 7149: a regression in 2.6.3 that causes an exception when
  trying to detect proxy settings on OSX.
........
1 parent e8e9cf4
Raw File
Tip revision: c1bde6e14dd03b40f11fd3481eb7c40247e27a4d authored by Ronald Oussoren on 18 October 2009, 07:08:27 UTC
Merged revisions 75482 via svnmerge from
Tip revision: c1bde6e
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