projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b591c2
)
Make sure sysconf exists (it doesn't in the VMS C RTL lesser than version 7).
author
Richard Levitte
<levitte@openssl.org>
Mon, 18 Nov 2002 23:05:50 +0000
(23:05 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 18 Nov 2002 23:05:50 +0000
(23:05 +0000)
apps/speed.c
patch
|
blob
|
history
diff --git
a/apps/speed.c
b/apps/speed.c
index 41fbaf36f72d074fa2c90ff62b24d1b62e6e7f58..b5e17a1f29935884451dc3a018c7d75cb425cb85 100644
(file)
--- a/
apps/speed.c
+++ b/
apps/speed.c
@@
-187,7
+187,8
@@
/* The following if from times(3) man page. It may need to be changed */
#ifndef HZ
-# ifdef _SC_CLK_TCK
+# if defined(_SC_CLK_TCK) \
+ && (!defined(OPENSSL_SYS_VMS) || __CTRL_VER >= 70000000)
# define HZ ((double)sysconf(_SC_CLK_TCK))
# else
# ifndef CLK_TCK