diff options
author | megacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-02 04:23:13 +0000 |
---|---|---|
committer | megacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-02 04:23:13 +0000 |
commit | 3826359b2a32288a145c26a8431070237ac9e443 (patch) | |
tree | b26aa357cbc94b087b7de09ead19f2bd430dc4be /boehm-gc/include | |
parent | f506f7e66c4d6fa1c3d5fa176db15e202c8926b4 (diff) | |
download | gcc-3826359b2a32288a145c26a8431070237ac9e443.tar.gz |
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49426 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/include')
-rw-r--r-- | boehm-gc/include/gc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h index 7d5bd250b8b..46924251201 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 |