From: Andy Polyakov Date: Sun, 18 Dec 2005 18:55:55 +0000 (+0000) Subject: Put back OPENSSL_SYS_MSDOS definition to revive DJGPP built. X-Git-Tag: OpenSSL_0_9_8k^2~1637 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c510eec0905095bdfd326f06fa3da69c686782b6;p=oweals%2Fopenssl.git Put back OPENSSL_SYS_MSDOS definition to revive DJGPP built. PR: 1247 --- diff --git a/e_os2.h b/e_os2.h index 1cbdf5be40..9da0b65448 100644 --- a/e_os2.h +++ b/e_os2.h @@ -84,6 +84,13 @@ extern "C" { /* ---------------------- Microsoft operating systems ---------------------- */ +/* Note that MSDOS actually denotes 32-bit environments running on top of + MS-DOS, such as DJGPP one. */ +#if defined(OPENSSL_SYSNAME_MSDOS) +# undef OPENSSL_SYS_UNIX +# define OPENSSL_SYS_MSDOS +#endif + /* For 32 bit environment, there seems to be the CygWin environment and then all the others that try to do the same thing Microsoft does... */ #if defined(OPENSSL_SYSNAME_UWIN)