diff options
author | nectar <nectar@FreeBSD.org> | 2002-07-30 12:44:15 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2002-07-30 12:44:15 +0000 |
commit | 0aed2eea83b351d68092e43b5a9496ce3dd5043d (patch) | |
tree | a6133c35ab337984fbbd26293f8b1ad7a958132b /crypto/openssl/e_os.h | |
parent | 1f8c2aa1763b5d8a328b2fd4053396e94ea48d35 (diff) | |
download | FreeBSD-src-0aed2eea83b351d68092e43b5a9496ce3dd5043d.zip FreeBSD-src-0aed2eea83b351d68092e43b5a9496ce3dd5043d.tar.gz |
Import of OpenSSL 0.9.6d.
Diffstat (limited to 'crypto/openssl/e_os.h')
-rw-r--r-- | crypto/openssl/e_os.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/crypto/openssl/e_os.h b/crypto/openssl/e_os.h index ec06afb..aba8c6f 100644 --- a/crypto/openssl/e_os.h +++ b/crypto/openssl/e_os.h @@ -82,6 +82,12 @@ extern "C" { #define DEVRANDOM "/dev/urandom" #endif +#if defined(VXWORKS) +# define NO_SYS_PARAM_H +# define NO_CHMOD +# define NO_SYSLOG +#endif + #if defined(__MWERKS__) && defined(macintosh) # if macintosh==1 # ifndef MAC_OS_GUSI_SOURCE @@ -148,6 +154,13 @@ extern "C" { #define closesocket(s) MacSocket_close(s) #define readsocket(s,b,n) MacSocket_recv((s),(b),(n),true) #define writesocket(s,b,n) MacSocket_send((s),(b),(n)) +#elif defined(VMS) +#define get_last_socket_error() errno +#define clear_socket_error() errno=0 +#define ioctlsocket(a,b,c) ioctl(a,b,c) +#define closesocket(s) close(s) +#define readsocket(s,b,n) recv((s),(b),(n),0) +#define writesocket(s,b,n) send((s),(b),(n),0) #else #define get_last_socket_error() errno #define clear_socket_error() errno=0 @@ -348,7 +361,9 @@ extern HINSTANCE _hInstance; # ifndef NO_SYS_PARAM_H # include <sys/param.h> # endif -# ifndef MPE +# ifdef VXWORKS +# include <time.h> +# elif !defined(MPE) # include <sys/time.h> /* Needed under linux for FD_XXX */ # endif |