sd-daemon: optionally, avoid hiding the ELF symbols

This commit is contained in:
Lennart Poettering
2010-09-08 01:55:35 +02:00
parent ed370f5daa
commit da5fcb1060
+1 -1
View File
@@ -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