summaryrefslogtreecommitdiffstats
path: root/config/gcc_hidden.h
diff options
context:
space:
mode:
Diffstat (limited to 'config/gcc_hidden.h')
-rw-r--r--config/gcc_hidden.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/gcc_hidden.h b/config/gcc_hidden.h
new file mode 100644
index 000000000..075e68c88
--- /dev/null
+++ b/config/gcc_hidden.h
@@ -0,0 +1,6 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/* Begin all files as hidden visibility */
+#pragma GCC visibility push(hidden)