chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ed370f5
)
sd-daemon: optionally, avoid hiding the ELF symbols
author
Lennart Poettering
<lennart@poettering.net>
Tue, 7 Sep 2010 23:55:17 +0000
(
01:55
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 7 Sep 2010 23:55:35 +0000
(
01:55
+0200)
src/sd-daemon.h
patch
|
blob
|
history
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