--- db-4.4.16/libdb_java/db_java_wrap.c 2005-12-13 14:55:57.000000000 -0800 +++ db-4.4.16-patched/libdb_java/db_java_wrap.c 2005-12-13 14:56:27.000000000 -0800 @@ -92,6 +92,12 @@ #include #include +#if defined(GCJ) && defined(WIN32) /* gcj jni doesn't use __stdcall */ +#undef JNIEXPORT +#undef JNICALL +#define JNIEXPORT +#define JNICALL +#endif /* Support for throwing Java exceptions */ typedef enum {