Commit 273c6244 authored by Richard Levitte's avatar Richard Levitte
Browse files

Make sure sysconf exists (it doesn't in the VMS C RTL lesser than version 7).

parent 8b591c2f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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