diff options
author | Adam Megacz <adam@xwt.org> | 2002-02-02 04:23:13 +0000 |
---|---|---|
committer | Adam Megacz <megacz@gcc.gnu.org> | 2002-02-02 04:23:13 +0000 |
commit | 7e57448e82dc78b2dde1684f4f33e06b77dc7dde (patch) | |
tree | b26aa357cbc94b087b7de09ead19f2bd430dc4be | |
parent | 54a190dd7b858962caed9a6143c39ff171acb723 (diff) | |
download | gcc-7e57448e82dc78b2dde1684f4f33e06b77dc7dde.zip gcc-7e57448e82dc78b2dde1684f4f33e06b77dc7dde.tar.gz gcc-7e57448e82dc78b2dde1684f4f33e06b77dc7dde.tar.bz2 |
2002-02-01 Adam Megacz <adam@xwt.org>
* 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
From-SVN: r49426
-rw-r--r-- | boehm-gc/ChangeLog | 5 | ||||
-rw-r--r-- | boehm-gc/include/gc.h | 2 |
2 files changed, 6 insertions, 1 deletions
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 <adam@xwt.org> + + * 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 <edelsohn@gnu.org> * 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 |