summaryrefslogtreecommitdiff
path: root/tools/source/zcodec
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-06-17 12:13:05 +0000
committerRüdiger Timm <rt@openoffice.org>2004-06-17 12:13:05 +0000
commit1c0b2ce940cdadb2997931c23d4ea33f85eb9e65 (patch)
tree043b3b076e9a0f1aeccf35ada46941fb8cd3bea2 /tools/source/zcodec
parent87de0d9bd57620fde21b4792ff71403b35ff8b01 (diff)
INTEGRATION: CWS ooo64bit01 (1.2.44); FILE MERGED
2004/03/15 23:18:47 fa 1.2.44.1: First bits of 64-bitness. #i25651# & more
Diffstat (limited to 'tools/source/zcodec')
-rw-r--r--tools/source/zcodec/zcodec.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/source/zcodec/zcodec.cxx b/tools/source/zcodec/zcodec.cxx
index 506ab7c2b938..05da03c4ec83 100644
--- a/tools/source/zcodec/zcodec.cxx
+++ b/tools/source/zcodec/zcodec.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: zcodec.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2003-12-17 19:25:51 $
+ * last change: $Author: rt $ $Date: 2004-06-17 13:13:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -75,6 +75,9 @@
#ifndef _RTL_CRC_H_
#include <rtl/crc.h>
#endif
+#ifndef _OSL_ENDIAN_H_
+#include <osl/endian.h>
+#endif
// -----------
// - Defines -
@@ -505,7 +508,7 @@ void ZCodec::ImplInitBuf ( BOOL nIOFlag )
ULONG ZCodec::UpdateCRC ( ULONG nLatestCRC, ULONG nNumber )
{
-#ifdef __LITTLEENDIAN
+#ifdef OSL_LITENDIAN
nNumber = SWAPLONG( nNumber );
#endif
return rtl_crc32( nLatestCRC, &nNumber, 4 );