mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Use strerror on the mac if using MSL (Jack).
This commit is contained in:
parent
15974ad5e6
commit
e5b4026881
1 changed files with 0 additions and 6 deletions
|
@ -38,15 +38,9 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
#endif
|
||||
|
||||
#ifdef macintosh
|
||||
#ifndef __MSL__
|
||||
/* Replace strerror with a Mac specific routine.
|
||||
XXX PROBLEM: some positive errors have a meaning for MacOS,
|
||||
but some library routines set Unix error numbers...
|
||||
*/
|
||||
extern char *PyMac_StrError Py_PROTO((int));
|
||||
#undef strerror
|
||||
#define strerror PyMac_StrError
|
||||
#endif
|
||||
#endif /* macintosh */
|
||||
|
||||
#ifndef __STDC__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue