comparison Python/errors.c @ 90:5cb843bc87fc legacy-trunk

Changed include of <errno.h>
author Guido van Rossum <guido@python.org>
date Thu, 20 Dec 1990 23:05:40 +0000
parents a6934380c6e7
children 853b736a6a9e
comparison
equal deleted inserted replaced
89:5847df13991d 90:5cb843bc87fc
29 functions save the value for later use by puterrno(). To adapt this 29 functions save the value for later use by puterrno(). To adapt this
30 scheme to a multi-threaded environment, only the implementation of 30 scheme to a multi-threaded environment, only the implementation of
31 err_setval() has to be changed. 31 err_setval() has to be changed.
32 */ 32 */
33 33
34 #include "errno.h" 34 #include "allobjects.h"
35 35
36 #include "allobjects.h" 36 #include <errno.h>
37 #ifndef errno
38 extern int errno;
39 #endif
37 40
38 #include "errcode.h" 41 #include "errcode.h"
39 42
40 extern char *strerror PROTO((int)); 43 extern char *strerror PROTO((int));
41 44