Declare a FOUNDATION_EXPORT macro as an alias for GS_EXPORT.

Improves Cocoa compatibility


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39418 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
thebeing 2016-02-26 12:52:31 +00:00
parent 9e04c50f94
commit 883503d3b3
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2016-02-26 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSObjCRuntime.h: Declare the FOUNDATION_EXPORT
macro as an alias for GS_EXPORT.
2016-02-24 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSArray.h:

View file

@ -266,6 +266,11 @@ enum {NSNotFound = NSIntegerMax};
DEFINE_BLOCK_TYPE(NSComparator, NSComparisonResult, id, id);
/**
* Declare the foundation export macro as an alias to GS_EXPORT
*/
#define FOUNDATION_EXPORT GS_EXPORT
#if defined(__cplusplus)
}
#endif