From: megacz Date: Sat, 2 Feb 2002 04:23:13 +0000 (+0000) Subject: 2002-02-01 Adam Megacz X-Git-Tag: upstream/4.9.2~88962 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3826359b2a32288a145c26a8431070237ac9e443;p=platform%2Fupstream%2Flinaro-gcc.git 2002-02-01 Adam Megacz * boehm-gc on win32 now automatically detects if it is being built as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49426 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index df5c8e1..90dfa7c 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-01 Adam Megacz + + * boehm-gc on win32 now automatically detects if it is being built + as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html + 2002-01-25 David Edelsohn * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX. diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h index 7d5bd25..4692425 100644 --- a/boehm-gc/include/gc.h +++ b/boehm-gc/include/gc.h @@ -86,7 +86,7 @@ typedef long ptrdiff_t; /* ptrdiff_t is not defined */ # endif -#if defined(__MINGW32__) && defined(GC_WIN32_THREADS) +#if defined(__MINGW32__) &&defined(_DLL) && !defined(GC_NOT_DLL) # ifdef GC_BUILD # define GC_API __declspec(dllexport) # else