Hi,

> Francisco A. Tomei Torres <[EMAIL PROTECTED]>:
>
> > cc -I../include -O -Wall   -c ssltest.c -o ssltest.o
> > ssltest.c: In function `main':
> > ssltest.c:504: `CLOCKS_PER_SEC' undeclared (first use this function)
>
> Weird, this should be defined in <time.h> on every standard C system
> (it's not a POSIX special or something).  Please grep through
> the standard header files to see if you can find this symbol
> anywhere.  Also please read the manual page for the C function
> clock() and look for hints; it should say something like this:
>
> RETURN VALUE
>        The value returned is the  CPU  time  used  so  far  as  a
>        clock_t;  to  get  the  number  of seconds used, divide by
>        CLOCKS_PER_SEC.
>
> In any case, please tell us if you've found something or not.

NEXTSTEP/OPENSTEP has no define for CLOCKS_PER_SEC. There is a CLK_TCK define  
in "times.h":

#ifdef _NEXT_SOURCE
#import <stddef.h>
#define CLK_TCK 64
#endif /* _NEXT_SOURCE */

and this is from the apache source code:

#ifdef NEXT
#if (NX_CURRENT_COMPILER_RELEASE == 410)
#ifdef m68k
#define HZ 64
#else
#define HZ 100
#endif
#else
#include <machine/param.h>
#endif
#endif /* NEXT */

Maybe this helps?

Bye,

   Juergen
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to