diff options
author | Matt Lewandowsky <[email protected]> | 2013-09-11 05:12:32 -0700 |
---|---|---|
committer | Matt Lewandowsky <[email protected]> | 2013-09-11 23:19:25 -0700 |
commit | 814d38ee1a111caf81e066d290fec455d13dcc9b (patch) | |
tree | 30a7b4c92503eccfc779b3f1904fa5f3a7c636fe /erts/epmd/src/epmd_int.h | |
parent | b44ce0f1b70176bba8ce817d9889ace9efaec891 (diff) | |
download | otp-814d38ee1a111caf81e066d290fec455d13dcc9b.tar.gz otp-814d38ee1a111caf81e066d290fec455d13dcc9b.tar.bz2 otp-814d38ee1a111caf81e066d290fec455d13dcc9b.zip |
Fix syslog defines
config.h defines HAVE_SYSLOG_H whereas the sources are looking for
NO_SYSLOG to be undefined. As the logic of "if feature is available"
makes more sense than "if feature is not unavailable", I opted for the
config.h define.
Diffstat (limited to 'erts/epmd/src/epmd_int.h')
-rw-r--r-- | erts/epmd/src/epmd_int.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/epmd/src/epmd_int.h b/erts/epmd/src/epmd_int.h index ac354dcc78..656dbd1f45 100644 --- a/erts/epmd/src/epmd_int.h +++ b/erts/epmd/src/epmd_int.h @@ -25,13 +25,11 @@ definitions ourselves */ #ifdef __WIN32__ -#define NO_SYSLOG #define NO_SYSCONF #define NO_DAEMON #endif #ifdef VXWORKS -#define NO_SYSLOG #define NO_SYSCONF #define NO_DAEMON #define NO_FCNTL @@ -98,7 +96,7 @@ #include <errno.h> -#ifndef NO_SYSLOG +#ifdef HAVE_SYSLOG_H # include <syslog.h> #endif |