chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sd-daemon: optionally, avoid hiding the ELF symbols
[elogind.git]
/
src
/
sd-daemon.h
diff --git
a/src/sd-daemon.h
b/src/sd-daemon.h
index 347421381f4ec61d14cea796b8954ace502c5f7b..6c8872fc235d1912ed410a2c8b0a0962850f64fc 100644
(file)
--- 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