summaryrefslogtreecommitdiffstats
path: root/e_os2.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-12-18 18:57:07 +0000
committerAndy Polyakov <appro@openssl.org>2005-12-18 18:57:07 +0000
commit29982dfd15d36099961bf484366fb8bbea8c3017 (patch)
treeab737ecc9a715300d5b1e5e0e2e053e8b0461aa3 /e_os2.h
parent6c4da94687f250a855efd3735c657ae59c2b57b3 (diff)
DJGPP-related e_os2.h update from HEAD.
PR: 1247
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)