mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-24 17:28:59 +00:00
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:
parent
c1ecdb91ac
commit
fb475f5962
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ _NSLog_standard_printf_handler (NSString* message)
|
|||
[message getCString: buf];
|
||||
buf[len] = '\0';
|
||||
|
||||
#ifdef HAVE_SYSLOG_H
|
||||
#ifdef HAVE_SYSLOG
|
||||
|
||||
if (write(2, buf, len) != len)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue