[PATCH] [MinGW]: Don't add dll[im/ex]port attributes to libgcj, unless dll build

Danny Smith dannysmith@clear.net.nz
Mon Nov 10 04:19:00 GMT 2003


> 
> - Danny: can you confirm that you're okay with this?
> - Once Danny does this, can someone approve this?
> 
> Thanks.
> 
> -- Mohan
> http://www.thisiscool.com/
> http://www.animalsong.org/
> 
> 2003-11-09  Danny Smith  <dannysmith@users.sourceforge.net>
> 
> * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
> (JNI_GetCreatedJavaVMs): Likewise.
> (JNI_GetDefaultJavaVMInitArgs): Likewise.
> * include/jni.h (JNIIMPEXP): Remove definition
> and replace with...
> (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
> symbols,
> (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
> 


Yes, OK by me.

Danny



More information about the Java-patches mailing list