hotspot/src/cpu/sparc/vm/jni_sparc.h
changeset 1889 24b003a6fe46
parent 1 489c9b5090e2
child 2105 347008ce7984
--- a/hotspot/src/cpu/sparc/vm/jni_sparc.h	Wed Dec 24 13:06:09 2008 -0800
+++ b/hotspot/src/cpu/sparc/vm/jni_sparc.h	Wed Dec 24 19:13:53 2008 -0800
@@ -28,5 +28,11 @@
 #define JNICALL
 
 typedef int jint;
-typedef long long jlong;
+
+#ifdef _LP64
+  typedef long jlong;
+#else
+  typedef long long jlong;
+#endif
+
 typedef signed char jbyte;