Updated windows port for new GCC support

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20882 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2005-03-10 04:18:55 +00:00
parent 4738fbed16
commit b5dc5a7008
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-03-10 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/AppKit/AppKitDefines.h (GS_EXPORT): Use extern, not
__declspec(dllexport), on mingw
2005-03-10 Nicola Pero <n.pero@mi.flashnet.it>
* configure.ac: Fixed setting variable when libjpeg can't be found.

View file

@ -27,8 +27,17 @@
#ifdef GNUSTEP_WITH_DLL
#if BUILD_libgnustep_gui_DLL
#
# if defined(__MINGW32__)
/* On Mingw, the compiler will export all symbols automatically, so
* __declspec(dllexport) is not needed.
*/
# define APPKIT_EXPORT extern
# define APPKIT_DECLARE
# else
# define APPKIT_EXPORT __declspec(dllexport)
# define APPKIT_DECLARE __declspec(dllexport)
# endif
#else
# define APPKIT_EXPORT extern __declspec(dllimport)
# define APPKIT_DECLARE __declspec(dllimport)