projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
dff18f8
)
BeOS has times() tick of 1000000, not CLK_TCK (1000)
Jarkko Hietaniemi [Wed, 26 Dec 2001 20:15:32 +0000 (20:15 +0000)]
(this showed up in Benchmark.t)
p4raw-id: //depot/perl@13896
pp_sys.c
patch
|
blob
|
blame
|
history
diff --git
a/pp_sys.c
b/pp_sys.c
index
771f913
..
a8a60bb
100644
(file)
--- 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