This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: jni.h: Define JNICALL, JNIIMPORT and JNIEXPORT for Win32
- From: Tom Tromey <tromey at redhat dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 08 Nov 2002 11:04:54 -0700
- Subject: Re: Patch: jni.h: Define JNICALL, JNIIMPORT and JNIEXPORT for Win32
- References: <aqfhhi$qeg$1@main.gmane.org>
- Reply-to: tromey at redhat dot com
>>>>> "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