mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 08:10:59 +00:00
Updated for new gnustep-make conventions on Windows DLL import/export
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13501 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
87358ab5ec
commit
3e5d017079
1 changed files with 8 additions and 2 deletions
|
@ -24,15 +24,21 @@
|
|||
#ifndef __AppKitDefines_INCLUDE
|
||||
#define __AppKitDefines_INCLUDE
|
||||
|
||||
#ifdef GNUSTEP_WITH_DLL
|
||||
|
||||
#if BUILD_libgnustep_gui_DLL
|
||||
# define APPKIT_EXPORT __declspec(dllexport)
|
||||
# define APPKIT_DECLARE __declspec(dllexport)
|
||||
#elif libgnustep_gui_ISDLL
|
||||
#else
|
||||
# define APPKIT_EXPORT extern __declspec(dllimport)
|
||||
# define APPKIT_DECLARE __declspec(dllimport)
|
||||
#else
|
||||
#endif
|
||||
|
||||
#else /* GNUSTEP_WITH[OUT]_DLL */
|
||||
|
||||
# define APPKIT_EXPORT extern
|
||||
# define APPKIT_DECLARE
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __AppKitDefines_INCLUDE */
|
||||
|
|
Loading…
Reference in a new issue