Changes to JDK for gcc

 gcc under cygwin on Windows platforms does not have a built-in definition for  __int64 .

This fix uses "long long" instead.

1. Edit the file <jdk_root>/include/win32/jni_md.h, Where <jdk_root> is the installation root (eg., c:/jdk1.3.1).

2. Replace the segment:

 typedef long jint;

typedef __int64 jlong;

typedef signed char jbyte;

with:

typedef long jint;

#ifdef __GNUC__

typedef long long jlong;

#else typedef __int64 jlong;

#endif

typedef signed char jbyte;

and that's it. You should now be able to compile JNI code using gcc under cygwin.