Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5b4026

Browse files
committed
Use strerror on the mac if using MSL (Jack).
1 parent 15974ad commit e5b4026

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Python/errors.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,9 @@ PERFORMANCE OF THIS SOFTWARE.
3838
#endif
3939

4040
#ifdef macintosh
41-
#ifndef __MSL__
42-
/* Replace strerror with a Mac specific routine.
43-
XXX PROBLEM: some positive errors have a meaning for MacOS,
44-
but some library routines set Unix error numbers...
45-
*/
4641
extern char *PyMac_StrError Py_PROTO((int));
4742
#undef strerror
4843
#define strerror PyMac_StrError
49-
#endif
5044
#endif /* macintosh */
5145

5246
#ifndef __STDC__

0 commit comments

Comments
 (0)