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 59461c7 commit 53e8d44Copy full SHA for 53e8d44
1 file changed
Python/errors.c
@@ -69,13 +69,14 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
69
XXX PROBLEM: some positive errors have a meaning for MacOS,
70
but some library routines set Unix error numbers...
71
*/
72
+extern char *PyMac_StrError PROTO((int));
73
#undef strerror
74
#define strerror PyMac_StrError
75
#endif /* macintosh */
76
-#ifndef NT
77
+#ifndef __STDC__
78
extern char *strerror PROTO((int));
-#endif /* !NT */
79
+#endif
80
81
/* Last exception stored by err_setval() */
82
0 commit comments