Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-06-14 01:44:01 +0400
committerRichard Levitte <levitte@openssl.org>2002-06-14 01:44:01 +0400
commitab805194a661a11df7f9f592e3751e97bb7305c5 (patch)
treed75be11857824bb010ca21e0119db29facb55ce0 /e_os2.h
parent4fac53a7570f9bcb2b3e62cc7d7892119703139f (diff)
Tentatively add support for UWIN, a Unix-like environment on top of Windows.
PR: 62
Diffstat (limited to 'e_os2.h')
-rw-r--r--e_os2.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/e_os2.h b/e_os2.h
index 9c4a541728..ff68d5b94a 100644
--- a/e_os2.h
+++ b/e_os2.h
@@ -90,17 +90,22 @@ extern "C" {
/* 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(__CYGWIN32__) || defined(OPENSSL_SYSNAME_CYGWIN32)
+#if defined(OPENSSL_SYSNAME_UWIN)
# undef OPENSSL_SYS_UNIX
-# define OPENSSL_SYS_WIN32_CYGWIN
+# define OPENSSL_SYS_WIN32_UWIN
#else
-# if defined(_WIN32) || defined(OPENSSL_SYSNAME_WIN32)
+# if defined(__CYGWIN32__) || defined(OPENSSL_SYSNAME_CYGWIN32)
# undef OPENSSL_SYS_UNIX
-# define OPENSSL_SYS_WIN32
-# endif
-# if defined(OPENSSL_SYSNAME_WINNT)
-# undef OPENSSL_SYS_UNIX
-# define OPENSSL_SYS_WINNT
+# define OPENSSL_SYS_WIN32_CYGWIN
+# else
+# if defined(_WIN32) || defined(OPENSSL_SYSNAME_WIN32)
+# undef OPENSSL_SYS_UNIX
+# define OPENSSL_SYS_WIN32
+# endif
+# if defined(OPENSSL_SYSNAME_WINNT)
+# undef OPENSSL_SYS_UNIX
+# define OPENSSL_SYS_WINNT
+# endif
# endif
#endif