mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix to use visibility attribute onoly on systems where it works
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24089 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
27d3458cb4
commit
0f17aafaac
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@
|
|||
#include "Foundation/NSObject.h"
|
||||
#include "Foundation/NSString.h"
|
||||
|
||||
#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
|
||||
|
||||
#if ( (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) ) && HAVE_VISIBILITY_ATTRIBUTE )
|
||||
#define GS_HIDDEN __attribute__ ((visibility("hidden")))
|
||||
#else
|
||||
#define GS_HIDDEN
|
||||
|
|
Loading…
Reference in a new issue