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

Skip to content

Commit 53e8d44

Browse files
committed
changes in NT tests
1 parent 59461c7 commit 53e8d44

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Python/errors.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,14 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
6969
XXX PROBLEM: some positive errors have a meaning for MacOS,
7070
but some library routines set Unix error numbers...
7171
*/
72+
extern char *PyMac_StrError PROTO((int));
7273
#undef strerror
7374
#define strerror PyMac_StrError
7475
#endif /* macintosh */
7576

76-
#ifndef NT
77+
#ifndef __STDC__
7778
extern char *strerror PROTO((int));
78-
#endif /* !NT */
79+
#endif
7980

8081
/* Last exception stored by err_setval() */
8182

0 commit comments

Comments
 (0)