aboutsummaryrefslogtreecommitdiff
path: root/include/odp/visibility_begin.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/odp/visibility_begin.h')
-rw-r--r--include/odp/visibility_begin.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/odp/visibility_begin.h b/include/odp/visibility_begin.h
new file mode 100644
index 000000000..25ac005f5
--- /dev/null
+++ b/include/odp/visibility_begin.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2016-2018 Linaro Limited
+ */
+
+/*
+ * @file
+ *
+ * Linker visibility directives
+ */
+
+#if __GNUC__ >= 4
+#pragma GCC visibility push(default)
+#endif