On Thu, Dec 05, 2002 at 10:26:58AM +0100, Richard Levitte - VMS Whacker wrote:
> In message <[EMAIL PROTECTED]> on Thu,  5 Dec 2002 10:03:20 
>+0100 (MET), " via RT" <[EMAIL PROTECTED]> said:
> 
> rt> gcc -I.. -I../.. -I../../include -fPIC -DDSO_DLFCN -DHAVE_DLFCN_H
> rt> -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer
> rt> -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -c hw_cryptodev.c
> rt> hw_cryptodev.c:49: crypto/cryptodev.h: No such file or directory
> rt> 
> rt> (I think that header is only available in OpenBSD 3.0 and later)
> 
> Is there any way to detect this with built-in C macros?

Ah, I've found this in <sys/param.h>:

#define OpenBSD 200105          /* OpenBSD version (year & month). */
#define OpenBSD2_9 1            /* OpenBSD 2.9 */

so if we can work out what year&month is used in the first release with
this crypto/cryptodev.h header this can probably be used.

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

Reply via email to