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: Patch: jni.h: Define JNICALL, JNIIMPORT and JNIEXPORT for Win32


>>>>> "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


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