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 99e72a97b9fd4b07562f25c01a4b8076789f68e9..9dc89bef553c936930bcb0b925c2ee59f20cc424 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