summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-26 20:15:32 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-26 20:15:32 +0000
commit9bc8746043cabd108ba5d1017e599bb1f1420871 (patch)
tree8701f9e6ac0bf7e9b6f26a97f2a2cb634dd7f178 /pp_sys.c
parentdff18f87b95b47b2b3dc9fa1769bd282a2d85916 (diff)
downloadperl-9bc8746043cabd108ba5d1017e599bb1f1420871.tar.gz
BeOS has times() tick of 1000000, not CLK_TCK (1000)
(this showed up in Benchmark.t) p4raw-id: //depot/perl@13896
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 771f9139d4..a8a60bb77a 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -4312,6 +4312,10 @@ PP(pp_time)
it's supported. --AD 9/96.
*/
+#ifdef __BEOS__
+# define HZ 1000000
+#endif
+
#ifndef HZ
# ifdef CLK_TCK
# define HZ CLK_TCK