diff options
author | Peter Lemenkov <[email protected]> | 2014-11-02 18:06:21 +0300 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-11-24 17:33:31 +0100 |
commit | 5db2345baa3bb9c835f91aafac3dde6e595debc7 (patch) | |
tree | 8563782637dfb0e606e4b06ec83aefe87dad9621 /erts/epmd/src/epmd_int.h | |
parent | 59740d8fee66f3326b30ac25882b52ffada4bac2 (diff) | |
download | otp-5db2345baa3bb9c835f91aafac3dde6e595debc7.tar.gz otp-5db2345baa3bb9c835f91aafac3dde6e595debc7.tar.bz2 otp-5db2345baa3bb9c835f91aafac3dde6e595debc7.zip |
epmd: Unify systemd autoconf macros usage
Don't use both HAVE_SYSTEMD_DAEMON and HAVE_SYSTEMD_SD_DAEMON - use only
the former one and remove the latter one entirely.
Signed-off-by: Peter Lemenkov <[email protected]>
Diffstat (limited to 'erts/epmd/src/epmd_int.h')
-rw-r--r-- | erts/epmd/src/epmd_int.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/epmd/src/epmd_int.h b/erts/epmd/src/epmd_int.h index c8f2192f7f..52badd7086 100644 --- a/erts/epmd/src/epmd_int.h +++ b/erts/epmd/src/epmd_int.h @@ -125,9 +125,9 @@ # include "sys/select.h" #endif -#ifdef HAVE_SYSTEMD_SD_DAEMON_H +#ifdef HAVE_SYSTEMD_DAEMON # include <systemd/sd-daemon.h> -#endif +#endif /* HAVE_SYSTEMD_DAEMON */ /* ************************************************************************ */ /* Replace some functions by others by making the function name a macro */ @@ -340,9 +340,9 @@ typedef struct { int listenfd[MAX_LISTEN_SOCKETS]; char *addresses; char **argv; -#ifdef HAVE_SYSTEMD_SD_DAEMON_H +#ifdef HAVE_SYSTEMD_DAEMON int is_systemd; -#endif +#endif /* HAVE_SYSTEMD_DAEMON */ } EpmdVars; void dbg_printf(EpmdVars*,int,const char*,...); |