summaryrefslogtreecommitdiffstats
path: root/avahi-compat-howl/warn.h
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-compat-howl/warn.h')
-rw-r--r--avahi-compat-howl/warn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/avahi-compat-howl/warn.h b/avahi-compat-howl/warn.h
index 13dbb31..785dba4 100644
--- a/avahi-compat-howl/warn.h
+++ b/avahi-compat-howl/warn.h
@@ -22,8 +22,13 @@
USA.
***/
+/* To avoid symbol name clashes when a process links to both our
+ * compatiblity layers, we move the symbols out of the way here */
+
#define avahi_warn_unsupported avahi_warn_unsupported_HOWL
#define avahi_warn_linkage avahi_warn_linkage_HOWL
+#define avahi_warn avahi_warn_HOWL
+#define avahi_exe_name avahi_exe_name_HOWL
#include "../avahi-compat-libdns_sd/warn.h"