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:03:43 -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> +#define JNIIMPORT __declspec(dllimport)
Ranjit> +#define JNIEXPORT __declspec(dllexport)
Ranjit> +#define JNICALL __stdcall
Does this work with gcc?
I thought you had to use __attribute__((...)) instead.
Tom