Updates for the new building code on MinGW

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/libobjc/trunk@20818 72102866-910b-0410-8b05-ffd578937521
main
nico 21 years ago
parent 3a24c886cd
commit 6c1640e44d

@ -1,3 +1,8 @@
2005-03-01 Nicola Pero <n.pero@mi.flashnet.it>
* objc/objc-decls.h: On MinGW, do not use
dllexport.
2004-02-17 Adam Fedor <fedor@gnu.org>
* GNUmakefile: Add defs for darwin.

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

Loading…
Cancel
Save