]> git.meshlink.io Git - catta/commitdiff
setproctitle: use defined() around __linux__ in #elif
authorPaddy Smith <padski@gmail.com>
Wed, 2 Feb 2011 20:26:01 +0000 (20:26 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Feb 2011 22:40:28 +0000 (23:40 +0100)
avahi-daemon/setproctitle.c

index aef3555751a666e8ca5266fdb979b575d62c9e25..e6f0941641749119761fe831b09b09767cc8a796 100644 (file)
@@ -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;