changeset 21299:b4e7e588552d

8026794: Test tools/pack200/TimeStamp.java fails while opening golden.jar.native.IST on linux-ppc(v2) Reviewed-by: dholmes
author ksrini
date Sat, 19 Oct 2013 15:19:40 -0700
parents d8a11a962ee3
children 9a71d04b2d02
files jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp	Sat Oct 19 20:59:42 2013 +0400
+++ b/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp	Sat Oct 19 15:19:40 2013 -0700
@@ -62,7 +62,7 @@
 
 #endif // End of ZLIB
 
-#ifdef sparc
+#ifdef _BIG_ENDIAN
 #define SWAP_BYTES(a) \
     ((((a) << 8) & 0xff00) | 0x00ff) & (((a) >> 8) | 0xff00)
 #else