Fixed building on Windows

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20948 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2005-03-21 22:16:52 +00:00
parent 5d1448ad99
commit 537db39e12

View file

@ -29,8 +29,15 @@
#ifdef GNUSTEP_WITH_DLL
#if BUILD_libGormLib_DLL
#if BUILD_libGorm_DLL
# if defined(__MINGW32__)
/* On Mingw, the compiler will export all symbols automatically, so
* __declspec(dllexport) is not needed.
*/
# define IB_EXTERN extern
# else
# define IB_EXTERN __declspec(dllexport)
# endif
#else
# define IB_EXTERN extern __declspec(dllimport)
#endif