mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 06:00:44 +00:00
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:
parent
5d1448ad99
commit
537db39e12
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue