summaryrefslogtreecommitdiff
path: root/gst/bayer/gstbayerorc-dist.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/bayer/gstbayerorc-dist.c')
-rw-r--r--gst/bayer/gstbayerorc-dist.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gst/bayer/gstbayerorc-dist.c b/gst/bayer/gstbayerorc-dist.c
index 95c53c5f0..cb7b595d7 100644
--- a/gst/bayer/gstbayerorc-dist.c
+++ b/gst/bayer/gstbayerorc-dist.c
@@ -79,6 +79,19 @@ typedef union
#endif
#endif
+#ifndef ORC_INTERNAL
+#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
+#define ORC_INTERNAL __attribute__((visibility("hidden")))
+#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
+#define ORC_INTERNAL __hidden
+#elif defined (__GNUC__)
+#define ORC_INTERNAL __attribute__((visibility("hidden")))
+#else
+#define ORC_INTERNAL
+#endif
+#endif
+
+
#ifndef DISABLE_ORC
#include <orc/orc.h>
#endif