patch-apps_speed_c 1.1 KB

12345678910111213141516
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- openssl-0.9.8i.orig/apps/speed.c 2007-11-15 14:33:47.000000000 +0100
  3. +++ openssl-0.9.8i/apps/speed.c 2008-10-22 11:47:28.000000000 +0200
  4. @@ -110,10 +110,10 @@
  5. #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(OPENSSL_SYS_MACOSX)
  6. # define USE_TOD
  7. -#elif !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VXWORKS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC))
  8. +#elif !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VXWORKS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC)) && defined(__linux__)
  9. # define TIMES
  10. #endif
  11. -#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX) && !defined(OPENSSL_SYS_MPE) && !defined(__NetBSD__) && !defined(OPENSSL_SYS_VXWORKS) /* FIXME */
  12. +#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX) && !defined(OPENSSL_SYS_MPE) && !defined(__NetBSD__) && !defined(OPENSSL_SYS_VXWORKS) && !defined(__linux__) /* FIXME */
  13. # define TIMEB
  14. #endif