Fix for systems that have syslog.h but no syslog function!

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4630 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-07-21 15:16:43 +00:00
parent c1ecdb91ac
commit fb475f5962

View file

@ -49,7 +49,7 @@ _NSLog_standard_printf_handler (NSString* message)
[message getCString: buf]; [message getCString: buf];
buf[len] = '\0'; buf[len] = '\0';
#ifdef HAVE_SYSLOG_H #ifdef HAVE_SYSLOG
if (write(2, buf, len) != len) if (write(2, buf, len) != len)
{ {