diff options
author | 2014-04-17 19:59:12 +0000 | |
---|---|---|
committer | 2014-04-17 19:59:12 +0000 | |
commit | 9e593c41da051b34fcc4fd28c28b01f17195edab (patch) | |
tree | 56c30e810083ca0746249a0e5a7340cb5b212666 /lib/libssl/src/e_os2.h | |
parent | Bob O.D.'ed on the o_dir code so high he forgot to rm the `test' after (diff) | |
download | wireguard-openbsd-9e593c41da051b34fcc4fd28c28b01f17195edab.tar.xz wireguard-openbsd-9e593c41da051b34fcc4fd28c28b01f17195edab.zip |
Use of OPENSSL_SYS_xxx defines in public header files considered harmful.
Diffstat (limited to 'lib/libssl/src/e_os2.h')
-rw-r--r-- | lib/libssl/src/e_os2.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/lib/libssl/src/e_os2.h b/lib/libssl/src/e_os2.h index 68b2d10c882..c6e38aa831e 100644 --- a/lib/libssl/src/e_os2.h +++ b/lib/libssl/src/e_os2.h @@ -62,54 +62,8 @@ extern "C" { #endif -/****************************************************************************** - * Detect operating systems. This probably needs completing. - * The result is that at least one OPENSSL_SYS_os macro should be defined. - * However, if none is defined, Unix is assumed. - **/ - #define OPENSSL_SYS_UNIX -/* --------------------------------- Unix ---------------------------------- */ -#ifdef OPENSSL_SYS_UNIX -# if defined(linux) || defined(__linux__) || defined(OPENSSL_SYSNAME_LINUX) -# define OPENSSL_SYS_LINUX -# endif -# ifdef OPENSSL_SYSNAME_MPE -# define OPENSSL_SYS_MPE -# endif -# ifdef OPENSSL_SYSNAME_SNI -# define OPENSSL_SYS_SNI -# endif -# ifdef OPENSSL_SYSNAME_ULTRASPARC -# define OPENSSL_SYS_ULTRASPARC -# endif -# ifdef OPENSSL_SYSNAME_NEWS4 -# define OPENSSL_SYS_NEWS4 -# endif -# ifdef OPENSSL_SYSNAME_MACOSX -# define OPENSSL_SYS_MACOSX -# endif -# ifdef OPENSSL_SYSNAME_MACOSX_RHAPSODY -# define OPENSSL_SYS_MACOSX_RHAPSODY -# define OPENSSL_SYS_MACOSX -# endif -# ifdef OPENSSL_SYSNAME_SUNOS -# define OPENSSL_SYS_SUNOS -#endif -# if defined(_CRAY) || defined(OPENSSL_SYSNAME_CRAY) -# define OPENSSL_SYS_CRAY -# endif -# if defined(_AIX) || defined(OPENSSL_SYSNAME_AIX) -# define OPENSSL_SYS_AIX -# endif -#endif - -/** - * That's it for OS-specific stuff - *****************************************************************************/ - - /* Specials for I/O an exit */ # define OPENSSL_EXPORT extern # define OPENSSL_IMPORT extern |