cvs commit: src/secure/usr.bin/openssl/apps speed.c

Robert Garrett rg70 at sbcglobal.net
Sat Feb 7 18:52:35 PST 2004


YONETANI Tomokazu wrote:

> On Wed, Feb 04, 2004 at 08:22:22PM -0800, Robert Garrett wrote:
>> rob         2004/02/04 20:22:22 PST
>> 
>> DragonFly src repository
>> 
>>   Added files:
>>     secure/usr.bin/openssl/apps speed.c
>>   Log:
>>   Allow world to build with gcc3, basically force openssl to use
>>   gettimeofday instead of ftime()
> 
> It should have been __DragonFly__, not __DragonFLY:
> 
> Index: secure/usr.bin/openssl/apps/speed.c
> ===================================================================
> RCS file:
> /home/source/dragonfly/cvs/src/secure/usr.bin/openssl/apps/speed.c,v
> retrieving revision 1.1 diff -u -r1.1 speed.c
> --- secure/usr.bin/openssl/apps/speed.c       5 Feb 2004 04:22:22 -0000       1.1
> +++ secure/usr.bin/openssl/apps/speed.c       7 Feb 2004 13:26:59 -0000
> @@ -91,12 +91,12 @@
>  #include OPENSSL_UNISTD
>  #endif
>  
> -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
> || defined(OPENSSL_SYS_MACOSX) || defined (__DragonFLY) +#if
> defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) ||
> defined(OPENSSL_SYS_MACOSX) || defined (__DragonFly__)
>  # define USE_TOD
>  #elif !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VXWORKS) &&
>  #(!defined(OPENSSL_SYS_VMS) || defined(__DECC))
>  # define TIMES
>  #endif
> -#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 (__DragonFly) /* FIXME */ +#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 (__DragonFly__) /* FIXME */
>  # define TIMEB
>  #endif
Thanks, 

sorry about that

Robert Garrett





More information about the Commits mailing list