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 b4e8925..bd4506d 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 b89e6e0..e434f29 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"