From f642ebc1e2dca34bc2b3c46796c131e1f5077bee Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Sat, 9 Aug 2014 08:02:20 -0400 Subject: Undo a90081576c94f9f54de1755188a00ccc1760549a Undo unapproved commit that removed DJGPP and WATT32 --- crypto/bio/bss_log.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'crypto/bio/bss_log.c') diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index 7b6eb73..2227b2b 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -88,7 +88,7 @@ # include #elif defined(OPENSSL_SYS_NETWARE) # define NO_SYSLOG -#elif !defined(MSDOS) && !defined(OPENSSL_SYS_VXWORKS) && !defined(NO_SYSLOG) +#elif (!defined(MSDOS) || defined(WATT32)) && !defined(OPENSSL_SYS_VXWORKS) && !defined(NO_SYSLOG) # include #endif @@ -373,11 +373,15 @@ static void xcloselog(BIO* bp) { } -#else /* Unix */ +#else /* Unix/Watt32 */ static void xopenlog(BIO* bp, char* name, int level) { +#ifdef WATT32 /* djgpp/DOS */ + openlog(name, LOG_PID|LOG_CONS|LOG_NDELAY, level); +#else openlog(name, LOG_PID|LOG_CONS, level); +#endif } static void xsyslog(BIO *bp, int priority, const char *string) -- cgit v1.1