aboutsummaryrefslogtreecommitdiff
path: root/src/include/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/compiler.h')
-rw-r--r--src/include/compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/compiler.h b/src/include/compiler.h
index 7b5a58d..889c240 100644
--- a/src/include/compiler.h
+++ b/src/include/compiler.h
@@ -66,7 +66,9 @@ __asm__ ( ".equ\t" OBJECT_SYMBOL_STR ", 0" );
* This is a stronger claim than specifying "-fvisibility=hidden",
* since it also affects symbols marked with "extern".
*/
+#if __GNUC__ >= 4
#pragma GCC visibility push(hidden)
+#endif
/** @def DBG
*