MacOSX doesn't have ftime().
authorRichard Levitte <levitte@openssl.org>
Tue, 27 Feb 2001 08:14:32 +0000 (08:14 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 27 Feb 2001 08:14:32 +0000 (08:14 +0000)
Spotted by Pieter Bowman <bowman@math.utah.edu>

apps/speed.c

index 99e72a9..9dc89be 100644 (file)
@@ -85,7 +85,7 @@
 #include <openssl/evp.h>
 #include <openssl/objects.h>
 
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(OPENSSL_SYS_MACOSX)
 # define USE_TOD
 #elif !defined(OPENSSL_SYS_MSDOS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC))
 # define TIMES