X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=e_os.h;h=3674db552fdf23e3137ce38ad54eee5aae5e70fb;hp=6cef40f5a5d37b513c88079a4a8893c018671ee7;hb=c078798c609eb12df615f1d07756d48bbcacf4ff;hpb=cf1b7d96647d55e533f779e476e3d4371f40445a diff --git a/e_os.h b/e_os.h index 6cef40f5a5..3674db552f 100644 --- a/e_os.h +++ b/e_os.h @@ -230,6 +230,7 @@ extern "C" { # define SSLEAY_CONF OPENSSL_CONF # define NUL_DEV "nul" # define RFILE ".rnd" +# define DEFAULT_HOME "C:" #else /* The non-microsoft world world */ @@ -424,6 +425,9 @@ extern HINSTANCE _hInstance; #endif #if defined(sun) && !defined(__svr4__) && !defined(__SVR4) + /* include headers first, so our defines don't break it */ +#include +#include /* bcopy can handle overlapping moves according to SunOS 4.1.4 manpage */ # define memmove(s1,s2,n) bcopy((s2),(s1),(n)) # define strtoul(s,e,b) ((unsigned long int)strtol((s),(e),(b))) @@ -455,6 +459,13 @@ extern char *sys_errlist[]; extern int sys_nerr; #define IRIX_CC_BUG /* CDS++ up to V2.0Bsomething suffered from the same bug.*/ #endif +#if defined(OPENSSL_SYS_OS2) && defined(__EMX__) +# include +# include +# define NO_SYSLOG +# define strcasecmp stricmp +#endif + #ifdef __cplusplus } #endif