Put back OPENSSL_SYS_MSDOS definition to revive DJGPP built.
authorAndy Polyakov <appro@openssl.org>
Sun, 18 Dec 2005 18:55:55 +0000 (18:55 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 18 Dec 2005 18:55:55 +0000 (18:55 +0000)
PR: 1247

e_os2.h

diff --git a/e_os2.h b/e_os2.h
index 1cbdf5be4086cd39b22b98aa91efbc77316e5c23..9da0b654481dc549f60bf97ca77d5dc77bb7edda 100644 (file)
--- 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)