From 8b025aebc8b1286c2b9e0220e95339b5264e5bca Mon Sep 17 00:00:00 2001 From: Paddy Smith Date: Wed, 2 Feb 2011 20:26:01 +0000 Subject: [PATCH] setproctitle: use defined() around __linux__ in #elif --- avahi-daemon/setproctitle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4