diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 0c77cba4289639d48a236f8b7ccedfe0898563c0..b8ebab2beae011f460177ee9a5178d0f3f7aec5c 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,9 @@ +2020-01-01 Andrew Pinski <pinskia@gmail.com> + + PR libobjc/93099 + * objc/objc-decls.h (objc_EXPORT): Define it to + extern for DLL_EXPORT define case. + 2020-01-01 Jakub Jelinek <jakub@redhat.com> Update copyright years. diff --git a/libobjc/objc/objc-decls.h b/libobjc/objc/objc-decls.h index 7abe87ebd92f69ee5f3be75221240c27a01c8042..3f5b28b1585853a26c2146a6c0533f5afdf9a26b 100644 --- a/libobjc/objc/objc-decls.h +++ b/libobjc/objc/objc-decls.h @@ -29,7 +29,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #if defined (_WIN32) || defined (__WIN32__) || defined (WIN32) # ifdef DLL_EXPORT /* defined by libtool (if required) */ -# define objc_EXPORT +# define objc_EXPORT extern # define objc_DECLARE # else # define objc_EXPORT extern __declspec(dllimport)