summaryrefslogtreecommitdiffstats
path: root/source4/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/includes.h')
-rw-r--r--source4/include/includes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 71fa67c251c..fb3bf44bf49 100644
--- 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)