mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Updated the Windows DLL import/export to latest gnustep-make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13499 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
56d275dd4d
commit
eb9f1f2a94
1 changed files with 9 additions and 3 deletions
|
@ -28,15 +28,21 @@
|
|||
#include <objc/objc-api.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef GNUSTEP_WITH_DLL
|
||||
|
||||
#if BUILD_libgnustep_base_DLL
|
||||
# define GS_EXPORT __declspec(dllexport)
|
||||
# define GS_DECLARE __declspec(dllexport)
|
||||
#elif libgnustep_base_ISDLL
|
||||
#else
|
||||
# define GS_EXPORT extern __declspec(dllimport)
|
||||
# define GS_DECLARE __declspec(dllimport)
|
||||
#else
|
||||
#endif
|
||||
|
||||
#else /* GNUSTEP_WITH[OUT]_DLL */
|
||||
|
||||
# define GS_EXPORT extern
|
||||
# define GS_DECLARE
|
||||
# define GS_DECLARE
|
||||
|
||||
#endif
|
||||
|
||||
@class NSObject;
|
||||
|
|
Loading…
Reference in a new issue