diff options
author | Richard Levitte <levitte@openssl.org> | 2002-11-18 23:05:39 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-11-18 23:05:39 +0000 |
commit | 450cee5c3a42337cb61387365a480228cee52967 (patch) | |
tree | 81c14144ac54e0ee077d91b156cba28ca39a1ede /apps | |
parent | a2dbcf3644b0e2cd9baeed6c629bbbdfb97ca7d5 (diff) |
Make sure sysconf exists (it doesn't in the VMS C RTL lesser than version 7).
Diffstat (limited to 'apps')
-rw-r--r-- | apps/speed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/speed.c b/apps/speed.c index 1d83adccfa..27f2e675cd 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -208,7 +208,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 |