Added support for gcc4's -fvisibility=hidden option.
Fixes Bugzilla #169. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401577
This commit is contained in:
parent
c21749e945
commit
0fc4f94726
2 changed files with 30 additions and 0 deletions
|
@ -31,6 +31,10 @@
|
|||
#endif
|
||||
#define _begin_code_h
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define SDL_GCC_ATTR_VIS_DEFAULT __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
/* Some compilers use a special export keyword */
|
||||
#ifndef DECLSPEC
|
||||
# ifdef __BEOS__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue