/hg/icedtea6: 2009-09-15 Gary Benson <gbenson at redhat.com>

gbenson at icedtea.classpath.org gbenson at icedtea.classpath.org
Tue Sep 15 05:01:21 PDT 2009


changeset 419024238732 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=419024238732
author: Gary Benson <gbenson at redhat.com>
date: Tue Sep 15 07:54:59 2009 -0400

	2009-09-15 Gary Benson <gbenson at redhat.com>

	 * ports/hotspot/src/cpu/zero/vm/jni_zero.h (jlong):
	Altered definition on 64-bit platforms.


diffstat:

2 files changed, 12 insertions(+), 1 deletion(-)
ChangeLog                                |    5 +++++
ports/hotspot/src/cpu/zero/vm/jni_zero.h |    8 +++++++-

diffs (34 lines):

diff -r 524b551b6a8a -r 419024238732 ChangeLog
--- a/ChangeLog	Tue Sep 15 06:02:32 2009 -0400
+++ b/ChangeLog	Tue Sep 15 07:54:59 2009 -0400
@@ -1,3 +1,8 @@ 2009-09-15  Gary Benson  <gbenson at redhat
+2009-09-15  Gary Benson  <gbenson at redhat.com>
+
+	* ports/hotspot/src/cpu/zero/vm/jni_zero.h
+	(jlong): Altered definition on 64-bit platforms.
+
 2009-09-15  Gary Benson  <gbenson at redhat.com>
 
 	* ports/hotspot/src/cpu/zero/vm/bytecodes_zero.hpp:
diff -r 524b551b6a8a -r 419024238732 ports/hotspot/src/cpu/zero/vm/jni_zero.h
--- a/ports/hotspot/src/cpu/zero/vm/jni_zero.h	Tue Sep 15 06:02:32 2009 -0400
+++ b/ports/hotspot/src/cpu/zero/vm/jni_zero.h	Tue Sep 15 07:54:59 2009 -0400
@@ -1,5 +1,6 @@
 /*
  * Copyright 1997-2004 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2009 Red Hat, Inc.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -28,5 +29,10 @@
 #define JNICALL
 
 typedef int jint;
+typedef signed char jbyte;
+
+#ifdef _LP64
+typedef long jlong;
+#else
 typedef long long jlong;
-typedef signed char jbyte;
+#endif



More information about the distro-pkg-dev mailing list