diff --git a/ChangeLog b/ChangeLog index 2274ed7..5c9f07e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-01-31 Nicola Pero + + * 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 * GNUmakefile (GNUSTEP_CORE_SOFTWARE): Do not set. diff --git a/objc/objc-decls.h b/objc/objc-decls.h index 8ed0854..ef1ae15 100644 --- a/objc/objc-decls.h +++ b/objc/objc-decls.h @@ -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