projects
/
platform
/
upstream
/
avahi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46109df
)
setproctitle: use defined() around __linux__ in #elif
author
Paddy Smith
<padski@gmail.com>
Wed, 2 Feb 2011 20:26:01 +0000
(20:26 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 18 Feb 2011 22:40:28 +0000
(23:40 +0100)
avahi-daemon/setproctitle.c
patch
|
blob
|
history
diff --git
a/avahi-daemon/setproctitle.c
b/avahi-daemon/setproctitle.c
index
aef3555
..
e6f0941
100644
(file)
--- 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;