mirror of
https://github.com/xcat2/xNBA.git
synced 2025-02-02 12:01:50 +00:00
[build] Fix building on gcc 3
GCC did not support #pragma GCC visibility until version 4.0.
This commit is contained in:
parent
78a57a6f76
commit
b08e255ef1
@ -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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user