From: Paddy Smith Date: Wed, 2 Feb 2011 20:26:01 +0000 (+0000) Subject: setproctitle: use defined() around __linux__ in #elif X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=8b025aebc8b1286c2b9e0220e95339b5264e5bca;p=catta setproctitle: use defined() around __linux__ in #elif --- 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;