This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: WIN-02: get boehm-gc autodetect if it is compiled as a DLL


Looks fine to me.  (I'd add a space after the first &&.)

Hans

> -----Original Message-----
> From: Adam Megacz [mailto:patches@lists.megacz.com]
> Sent: Thursday, January 31, 2002 3:21 PM
> To: java-patches@gcc.gnu.org
> Subject: Re: WIN-02: get boehm-gc autodetect if it is 
> compiled as a DLL
> 
> 
> 
> "Boehm, Hans" <hans_boehm@hp.com> writes:
> > > > Should the first test just be
> 
> > > > #if defined(__MINGW32__) && defined(_DLL) && 
> !defined(GC_NOT_DLL)
> 
> > > Yes, that should work.
> 
> > Did that in my tree.
> 
> Cool -- here is the revised patch. Approval?
> 
>   - a
> 
> 
> *** gc.h        Fri Jan 25 10:06:23 2002
> --- gc.h        Thu Jan 31 01:20:15 2002
> ***************
> *** 86,92 ****
>       typedef long ptrdiff_t;   /* ptrdiff_t is not defined */
>   # endif
> 
> ! #if defined(__MINGW32__) && defined(GC_WIN32_THREADS)
>   # ifdef GC_BUILD
>   #   define GC_API __declspec(dllexport)
>   # else
> --- 86,92 ----
>       typedef long ptrdiff_t;   /* ptrdiff_t is not defined */
>   # endif
> 
> ! #if defined(__MINGW32__) &&defined(_DLL) && !defined(GC_NOT_DLL)
>   # ifdef GC_BUILD
>   #   define GC_API __declspec(dllexport)
>   # else
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]