Patch: jni.h: Define JNICALL, JNIIMPORT and JNIEXPORT for Win32

Tom Tromey tromey@redhat.com
Fri Nov 8 10:11:00 GMT 2002


>>>>> "Ranjit" == Ranjit Mathew <rmathew@hotmail.com> writes:

Ranjit> Another thing to note is the use of _WIN32, __WIN32__ and
Ranjit> WIN32 - _WIN32 is the MS specified Win32 define, some
Ranjit> compilers define __WIN32__ and libgcj itself uses WIN32.
Ranjit> I didn't know which one to favour over the others... :-)

jni.h is an unusual header.  We want to be able to install it and have
it be used by other compilers on the same platform, without requiring
any configure stuff.  So checking all of them is probably best.

Inside libgcj itself I think we decided in `WIN32'.

Tom



More information about the Java-patches mailing list