aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/unix
diff options
context:
space:
mode:
authorMatt Lewandowsky <[email protected]>2013-09-11 06:59:00 -0700
committerMatt Lewandowsky <[email protected]>2013-09-11 23:19:43 -0700
commita65f66a4ab0e1b6409a5de5fcb0c14248c292949 (patch)
treef41a648f62e8cd29c940c84cfdb0320d7cdc7ac4 /erts/etc/unix
parent814d38ee1a111caf81e066d290fec455d13dcc9b (diff)
downloadotp-a65f66a4ab0e1b6409a5de5fcb0c14248c292949.tar.gz
otp-a65f66a4ab0e1b6409a5de5fcb0c14248c292949.tar.bz2
otp-a65f66a4ab0e1b6409a5de5fcb0c14248c292949.zip
Define LOG_ERR for systems without syslog.h
Diffstat (limited to 'erts/etc/unix')
-rw-r--r--erts/etc/unix/run_erl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/etc/unix/run_erl.c b/erts/etc/unix/run_erl.c
index c9b2321ab0..2018bc007c 100644
--- a/erts/etc/unix/run_erl.c
+++ b/erts/etc/unix/run_erl.c
@@ -199,6 +199,7 @@ static char* outbuf_in;
#ifndef HAVE_SYSLOG_H
# define OPEN_SYSLOG() ((void) 0)
+# define LOG_ERR NULL
#else
# define OPEN_SYSLOG() openlog(simple_basename(program_name), \
LOG_PID|LOG_CONS|LOG_NOWAIT,LOG_USER)