mirror of
https://github.com/yawut/SDL.git
synced 2026-08-11 11:35:36 -05:00
Added support for gcc4's -fvisibility=hidden option.
Fixes Bugzilla #169.
This commit is contained in:
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user