From a65f66a4ab0e1b6409a5de5fcb0c14248c292949 Mon Sep 17 00:00:00 2001 From: Matt Lewandowsky Date: Wed, 11 Sep 2013 06:59:00 -0700 Subject: Define LOG_ERR for systems without syslog.h --- erts/etc/unix/run_erl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'erts/etc') 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) -- cgit v1.2.3