summaryrefslogtreecommitdiffstats
path: root/e_os2.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-07-01 22:39:46 +0000
committerRichard Levitte <levitte@openssl.org>2001-07-01 22:39:46 +0000
commitdc01b6b1f20e9fa8a975f5f28e55fdaa75fe37e6 (patch)
treebe53597dae0d499197a282d9d0b4558b01c251c0 /e_os2.h
parentb7a26e6dafdbf97513e968a45757a4d4e9843ba2 (diff)
Changes to have OpenSSL compile on OS/2.
Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
Diffstat (limited to 'e_os2.h')
-rw-r--r--e_os2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/e_os2.h b/e_os2.h
index 5ebd7481ee..18b68527af 100644
--- a/e_os2.h
+++ b/e_os2.h
@@ -136,6 +136,12 @@ extern "C" {
# endif
#endif
+/* --------------------------------- OS/2 ---------------------------------- */
+#if defined(__EMX__) || defined(__OS2__)
+# undef OPENSSL_SYS_UNIX
+# define OPENSSL_SYS_OS2
+#endif
+
/* --------------------------------- Unix ---------------------------------- */
#ifdef OPENSSL_SYS_UNIX
# if defined(linux) || defined(OPENSSL_SYSNAME_LINUX)