bio/bss_log.c: on DJGPP syslog facility is part of sockets library.
[openssl.git] / crypto / bio / bss_log.c
index b04f7bbfd38ef2787b5435bf1e176ecec0b0dc2e..10acba1dee9bd668c3abc5d156ee5a57d6168bc7 100644 (file)
@@ -39,6 +39,8 @@ void *_malloc32(__size_t);
 #  endif                        /* __INITIAL_POINTER_SIZE == 64 */
 # endif                         /* __INITIAL_POINTER_SIZE && defined
                                  * _ANSI_C_SOURCE */
+#elif defined(__DJGPP__) && defined(OPENSSL_NO_SOCK)
+# define NO_SYSLOG
 #elif (!defined(MSDOS) || defined(WATT32)) && !defined(OPENSSL_SYS_VXWORKS) && !defined(NO_SYSLOG)
 # include <syslog.h>
 #endif