summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-09 12:11:31 +0000
committerGuido van Rossum <guido@python.org>1995-03-09 12:11:31 +0000
commite61a605a83260eeee6bf686138929cfe111c00d2 (patch)
tree1d49b51f03d34b528706522f75c7c76eaee1ca99 /Python/errors.c
parentb3b2bd51c5e2a6e32c05ed938c09d8797f235ada (diff)
downloadcpython-e61a605a83260eeee6bf686138929cfe111c00d2.tar.gz
changes in NT tests
Diffstat (limited to 'Python/errors.c')
-rw-r--r--Python/errors.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/errors.c b/Python/errors.c
index 619c3ce0b4..6f2f134d44 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -69,13 +69,14 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
XXX PROBLEM: some positive errors have a meaning for MacOS,
but some library routines set Unix error numbers...
*/
+extern char *PyMac_StrError PROTO((int));
#undef strerror
#define strerror PyMac_StrError
#endif /* macintosh */
-#ifndef NT
+#ifndef __STDC__
extern char *strerror PROTO((int));
-#endif /* !NT */
+#endif
/* Last exception stored by err_setval() */