david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[build] Fix building on gcc 3

GCC did not support #pragma GCC visibility until version 4.0.
This commit is contained in:
Michael Brown 2009-02-16 02:14:46 +00:00
parent 78a57a6f76
commit b08e255ef1
1 changed files with 2 additions and 0 deletions

View File

@ -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
*