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:
Nicola Pero 2002-04-18 10:26:04 +00:00
parent 87358ab5ec
commit 3e5d017079

View file

@ -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 */