summaryrefslogtreecommitdiffstats
path: root/e_os2.h
diff options
context:
space:
mode:
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)