Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ae7768 commit 8fd2d94Copy full SHA for 8fd2d94
1 file changed
Python/errors.c
@@ -60,6 +60,16 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
60
61
#include <errno.h>
62
63
+#ifdef macintosh
64
+/*
65
+** For the mac, there's a function macstrerror in macosmodule.c. We can't
66
+** call it strerror(), though, since that is already defined (for Think C)
67
+** in ANSI
68
+*/
69
+#define strerror macstrerror
70
+#include "macdefs.h" /* For CW to find EINTR */
71
+#endif /* macintosh */
72
+
73
extern char *strerror PROTO((int));
74
75
/* Last exception stored by err_setval() */
0 commit comments