summaryrefslogtreecommitdiffstats
path: root/e_os2.h
diff options
context:
space:
mode:
Diffstat (limited to 'e_os2.h')
-rw-r--r--e_os2.h7
1 files changed, 7 insertions, 0 deletions
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)