Made libobjc compile again on MinGW32 - the last changes broke it as it was now dllimporting its own symbols while building, which doesn't make sense and would abort compilation with GCC 3.4.5 (MinGW 5.1.4)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/libobjc/trunk@27743 72102866-910b-0410-8b05-ffd578937521
main
nicola 17 years ago
parent 60dbbe7497
commit ac4772568d

@ -1,3 +1,9 @@
2009-01-31 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/objc-decls.h: Use BUILD_libobjc_DLL (as defined by
gnustep-make), not DLL_EXPORT (as defined by libtool, which we
don't use), to decide when to export/import symbols on MinGW32.
2008-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* GNUmakefile (GNUSTEP_CORE_SOFTWARE): Do not set.

@ -29,7 +29,7 @@ Boston, MA 02110-1301, USA. */
#if (defined (_WIN32) || defined (__WIN32__) || defined (WIN32))
#ifdef DLL_EXPORT /* defined by libtool (if required) */
#ifdef BUILD_libobjc_DLL /* defined by gnustep-make when compiling libobjc itself */
# define objc_EXPORT __declspec(dllexport)
# define objc_DECLARE __declspec(dllexport)
#else

Loading…
Cancel
Save