From 2ea2f6cd195ad3d971c95bcce66149c97e3f39df Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 18 Apr 2002 10:26:04 +0000 Subject: [PATCH] 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 --- Headers/gnustep/gui/AppKitDefines.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Headers/gnustep/gui/AppKitDefines.h b/Headers/gnustep/gui/AppKitDefines.h index 751530727..09219e946 100644 --- a/Headers/gnustep/gui/AppKitDefines.h +++ b/Headers/gnustep/gui/AppKitDefines.h @@ -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 */