mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
changes in NT tests
This commit is contained in:
parent
59461c7052
commit
53e8d44eec
@ -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() */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user