Mercurial > sdl-ios-xcode
comparison include/begin_code.h @ 1573:2422ca15ba42
Added support for gcc4's -fvisibility=hidden option.
Fixes Bugzilla #169.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 22 Mar 2006 01:28:36 +0000 |
parents | d910939febfa |
children | 0fd72308659e |
comparison
equal
deleted
inserted
replaced
1572:3a8920cc822b | 1573:2422ca15ba42 |
---|---|
28 /* This shouldn't be nested -- included it around code only. */ | 28 /* This shouldn't be nested -- included it around code only. */ |
29 #ifdef _begin_code_h | 29 #ifdef _begin_code_h |
30 #error Nested inclusion of begin_code.h | 30 #error Nested inclusion of begin_code.h |
31 #endif | 31 #endif |
32 #define _begin_code_h | 32 #define _begin_code_h |
33 | |
34 #ifdef __GNUC__ | |
35 #define SDL_GCC_ATTR_VIS_DEFAULT __attribute__((visibility("default"))) | |
36 #endif | |
33 | 37 |
34 /* Some compilers use a special export keyword */ | 38 /* Some compilers use a special export keyword */ |
35 #ifndef DECLSPEC | 39 #ifndef DECLSPEC |
36 # ifdef __BEOS__ | 40 # ifdef __BEOS__ |
37 # if defined(__GNUC__) | 41 # if defined(__GNUC__) |