aboutsummaryrefslogtreecommitdiff
path: root/e_os2.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-12-18 18:55:55 +0000
committerAndy Polyakov <appro@openssl.org>2005-12-18 18:55:55 +0000
commitc510eec0905095bdfd326f06fa3da69c686782b6 (patch)
treeed34d0c108b50de187abfc9fb4d4ca881a968821 /e_os2.h
parent1b167a434343a52d6d6c362ce9b6f702a2fac408 (diff)
downloadopenssl-c510eec0905095bdfd326f06fa3da69c686782b6.zip
openssl-c510eec0905095bdfd326f06fa3da69c686782b6.tar.gz
openssl-c510eec0905095bdfd326f06fa3da69c686782b6.tar.bz2
Put back OPENSSL_SYS_MSDOS definition to revive DJGPP built.
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 1cbdf5b..9da0b65 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)