summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-15 18:52:33 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-15 18:52:33 (GMT)
commit56221a7cfa8f361f4310b63b74091766c50dd7f8 (patch)
treefa463c682b2f773a8b2cc5f27aa936a8853d1a89 /Modules/timemodule.c
parentd3415791783dcdf6f6dedd2a878ea0e09aa39fc9 (diff)
downloadcpython-56221a7cfa8f361f4310b63b74091766c50dd7f8.zip
cpython-56221a7cfa8f361f4310b63b74091766c50dd7f8.tar.gz
cpython-56221a7cfa8f361f4310b63b74091766c50dd7f8.tar.bz2
Chris Herborth <chrish@pobox.com>:
Minor updates for BeOS R5. Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding change in BeOS/README (by Fred). This closes SourceForge patch #100978.
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index fa40762..8cb7484 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -70,13 +70,10 @@ extern int ftime(struct timeb *);
#endif
#ifdef __BEOS__
+#include <time.h>
/* For bigtime_t, snooze(). - [cjh] */
#include <support/SupportDefs.h>
#include <kernel/OS.h>
-#ifndef CLOCKS_PER_SEC
-/* C'mon, fix the bloody headers... - [cjh] */
-#define CLOCKS_PER_SEC 1000
-#endif
#endif
/* Forward declarations */