diff options
author | Paddy Smith <padski@gmail.com> | 2011-02-02 20:26:01 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-18 23:40:28 +0100 |
commit | 8b025aebc8b1286c2b9e0220e95339b5264e5bca (patch) | |
tree | acc2a073b24fb3b78999a27b18349047126ae0e7 | |
parent | 46109dfec75534fe270c0ab902576f685d5ab3a6 (diff) | |
download | avahi-8b025aebc8b1286c2b9e0220e95339b5264e5bca.tar.gz |
setproctitle: use defined() around __linux__ in #elif
-rw-r--r-- | avahi-daemon/setproctitle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-daemon/setproctitle.c b/avahi-daemon/setproctitle.c index aef3555..e6f0941 100644 --- a/avahi-daemon/setproctitle.c +++ b/avahi-daemon/setproctitle.c @@ -85,7 +85,7 @@ void avahi_set_proc_title(const char *name, const char *fmt,...) { va_end(ap); setproctitle("-%s", t); -#elif __linux__ +#elif defined(__linux__) size_t l; va_list ap; |