Ultrix compatibility.
authorUlf Möller <ulf@openssl.org>
Thu, 22 Apr 1999 16:30:17 +0000 (16:30 +0000)
committerUlf Möller <ulf@openssl.org>
Thu, 22 Apr 1999 16:30:17 +0000 (16:30 +0000)
Submitted by: Bernhard Simon <simon@zid.tuwien.ac.at>

Configure
crypto/bio/bss_log.c

index b4e8925bb0c68b937cd9a07d4a79cc725719fbcf..bd4506d4081840dff2b751cc40ecf18a1b7de26b 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -179,7 +179,7 @@ my %table=(
 
 # IBM's AIX.
 "aix-cc",   "cc:-O -DAIX -DB_ENDIAN::BN_LLONG RC4_CHAR:::",
-"aix-gcc",  "gcc:-O2 -DAIX -DB_ENDIAN::BN_LLONG RC4_CHAR:::",
+"aix-gcc",  "gcc:-O3 -DAIX -DB_ENDIAN::BN_LLONG RC4_CHAR:::",
 
 #
 # Cray T90 (SDSC)
@@ -234,6 +234,7 @@ my %table=(
 
 # Ultrix from Bernhard Simon <simon@zid.tuwien.ac.at>
 "ultrix","cc:-std1 -O -Olimit 1000 -DL_ENDIAN::::::",
+"ultrix-gcc","cc:-O3 -DL_ENDIAN::::::",
 # K&R C is no longer supported; you need gcc on old Ultrix installations
 ##"ultrix","cc:-O2 -DNOPROTO -DNOCONST -DL_ENDIAN::::::",
 
index b89e6e09e1a1cfdd7f4f8880fa9cb12d4edf7654..e434f2905474470f6806e89d9120cb08ba162b7c 100644 (file)
 #include <errno.h>
 
 #ifndef WIN32
+#ifdef __ultrix
+#include <sys/sylog.h>
+#else
 #include <syslog.h>
 #endif
+#endif
 
 #include "cryptlib.h"
 #include "buffer.h"