summaryrefslogtreecommitdiff
path: root/gcc/unwind.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/unwind.h')
-rw-r--r--gcc/unwind.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/unwind.h b/gcc/unwind.h
index ca917b0ad2c..7244fd457c7 100644
--- a/gcc/unwind.h
+++ b/gcc/unwind.h
@@ -31,7 +31,9 @@
#ifndef _UNWIND_H
#define _UNWIND_H
+#ifndef HIDE_EXPORTS
#pragma GCC visibility push(default)
+#endif
#ifdef __cplusplus
extern "C" {
@@ -231,6 +233,8 @@ extern void * _Unwind_FindEnclosingFunction (void *pc);
}
#endif
+#ifndef HIDE_EXPORTS
#pragma GCC visibility pop
+#endif
#endif /* unwind.h */