mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-14 18:10:57 +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
18bdc28206
commit
1f48f1d7f1
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@
|
||||||
#include "Foundation/NSObject.h"
|
#include "Foundation/NSObject.h"
|
||||||
#include "Foundation/NSString.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")))
|
#define GS_HIDDEN __attribute__ ((visibility("hidden")))
|
||||||
#else
|
#else
|
||||||
#define GS_HIDDEN
|
#define GS_HIDDEN
|
||||||
|
|
Loading…
Reference in a new issue