changeset 6796:7383847ce180

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 03b2a7de5c2e
children 837746b32b81
files 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/src/share/native/com/sun/java/util/jar/pack/zip.cpp	Wed Nov 13 17:51:30 2013 +0000
+++ b/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