From da5fcb10605026d1baa09f6da9b516a5641faa9c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 8 Sep 2010 01:55:17 +0200 Subject: [PATCH] sd-daemon: optionally, avoid hiding the ELF symbols --- src/sd-daemon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sd-daemon.h b/src/sd-daemon.h index 34742138..6c8872fc 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 -- 2.39.5