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> +#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


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