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

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


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



More information about the Java-patches mailing list