git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
964373b
)
r14294: conditionally define _PUBLIC_, so you can disable it easily with -D_PUBLIC_=
author
Andrew Tridgell
<tridge@samba.org>
Mon, 13 Mar 2006 05:01:34 +0000
(
05:01
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:57:09 +0000
(13:57 -0500)
(This used to be commit
6c6bd77ec2eb7d47e1f2c54f939d479e7d0fd7d9
)
source4/include/includes.h
patch
|
blob
|
history
diff --git
a/source4/include/includes.h
b/source4/include/includes.h
index 71fa67c251c3ac38ba7126ccf3f00ddfec9e1d7a..fb3bf44bf49434a9c52c315df3f69a2449ecd166 100644
(file)
--- a/
source4/include/includes.h
+++ b/
source4/include/includes.h
@@
-36,11
+36,13
@@
/** Feel free to add definitions for other compilers here. */
#endif
+#ifndef _PUBLIC_
#ifdef HAVE_VISIBILITY_ATTR
# define _PUBLIC_ __attribute__((visibility("default")))
#else
# define _PUBLIC_
#endif
+#endif
#ifndef PRINTF_ATTRIBUTE
#if !defined(NO_PRINTF_ATTRIBUTE) && (__GNUC__ >= 3)