From: Lennart Poettering Date: Tue, 7 Sep 2010 23:55:17 +0000 (+0200) Subject: sd-daemon: optionally, avoid hiding the ELF symbols X-Git-Tag: v10~33 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=da5fcb10605026d1baa09f6da9b516a5641faa9c sd-daemon: optionally, avoid hiding the ELF symbols --- diff --git a/src/sd-daemon.h b/src/sd-daemon.h index 347421381..6c8872fc2 100644 --- a/src/sd-daemon.h +++ b/src/sd-daemon.h @@ -67,7 +67,7 @@ extern "C" { See sd-daemon(7) for more information. */ -#if __GNUC__ >= 4 +#if (__GNUC__ >= 4) && !defined(SD_EXPORT_SYMBOLS) #define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b))) #define _sd_hidden_ __attribute__ ((visibility("hidden"))) #else