From: Paddy Smith Date: Wed, 2 Feb 2011 20:26:01 +0000 (+0000) Subject: setproctitle: use defined() around __linux__ in #elif X-Git-Tag: upstream/0.6.31~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b025aebc8b1286c2b9e0220e95339b5264e5bca;p=platform%2Fupstream%2Favahi.git 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;