Apparently, Linux is identified with __linux__ as well.
authorRichard Levitte <levitte@openssl.org>
Thu, 27 Sep 2001 15:41:34 +0000 (15:41 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 27 Sep 2001 15:41:34 +0000 (15:41 +0000)
e_os2.h

diff --git a/e_os2.h b/e_os2.h
index 18b68527afb4600c78e93a407af4115e7fb50929..ea92ff578ad824da7d1ade147861dd60ac4dc16b 100644 (file)
--- a/e_os2.h
+++ b/e_os2.h
@@ -144,7 +144,7 @@ extern "C" {
 
 /* --------------------------------- Unix ---------------------------------- */
 #ifdef OPENSSL_SYS_UNIX
-# if defined(linux) || defined(OPENSSL_SYSNAME_LINUX)
+# if defined(linux) || defined(__linux__) || defined(OPENSSL_SYSNAME_LINUX)
 #  define OPENSSL_SYS_LINUX
 # endif
 # ifdef OPENSSL_SYSNAME_MPE