X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=e_os.h;h=eb5c7bf696e4b30309e38b963feec2a0b4dfdaeb;hp=510db0e9ac5dae434cf306014e66726267970dcb;hb=71308064ccc8eaddf09e981b6d7d9d0f9f013956;hpb=31b8d8684441e6cd5138832bb1b2ddb10acd6ba6 diff --git a/e_os.h b/e_os.h index 510db0e9ac..eb5c7bf696 100644 --- a/e_os.h +++ b/e_os.h @@ -102,6 +102,9 @@ extern "C" { #ifdef WIN32 #define get_last_sys_error() GetLastError() #define clear_sys_error() SetLastError(0) +#if !defined(WINNT) +#define WIN_CONSOLE_BUG +#endif #else #define get_last_sys_error() errno #define clear_sys_error() errno=0 @@ -143,6 +146,12 @@ extern "C" { #ifndef S_IFMT #define S_IFMT _S_IFMT + +#if !defined(WINNT) +#define NO_SYSLOG +#endif +#define NO_DIRENT + #endif #define strncasecmp(a,b,c) strnicmp((a),(b),(c)) @@ -172,7 +181,8 @@ extern "C" { #ifndef R_OK # define R_OK 4 #endif -# define SSLEAY_CONF "ssleay.cnf" +# define OPENSSL_CONF "openssl.cnf" +# define SSLEAY_CONF OPENSSL_CONF # define NUL_DEV "nul" # define RFILE ".rnd" @@ -184,7 +194,8 @@ extern "C" { # include # endif -# define SSLEAY_CONF "ssleay.cnf" +# define OPENSSL_CONF "openssl.cnf" +# define SSLEAY_CONF OPENSSL_CONF # define RFILE ".rnd" # define LIST_SEPARATOR_CHAR ':' # ifndef MONOLITH