summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-08-14 13:49:30 (GMT)
committerGuido van Rossum <guido@python.org>1992-08-14 13:49:30 (GMT)
commit6d946f98bd233efa676b7a05cb01cd0ca92549c0 (patch)
tree22edfa4e40bcb043a73e593e2ecf156eb33a1be6 /Modules/timemodule.c
parente6eefc22313e7f2da5918ecd608fbb0b7a7a1610 (diff)
downloadcpython-6d946f98bd233efa676b7a05cb01cd0ca92549c0.zip
cpython-6d946f98bd233efa676b7a05cb01cd0ca92549c0.tar.gz
cpython-6d946f98bd233efa676b7a05cb01cd0ca92549c0.tar.bz2
* macmodule.c: include allobjects.h, not .c
* timemodule.c: the mac has no unistd.h * classobject.c: fixed several cases of return NULL that should be return -1 !!!
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index 4d13611..69a0c88 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -33,6 +33,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <signal.h>
#include <setjmp.h>
+#ifdef macintosh
+#define NO_UNISTD
+#endif
+
#ifndef NO_UNISTD
#include <unistd.h>
#endif