summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-06-17 11:39:00 +0000
committerRüdiger Timm <rt@openoffice.org>2004-06-17 11:39:00 +0000
commitb30cea98103f3b3f1d7afb30633d0a7d840c796e (patch)
tree431c2f1244bbdff3ccad1f29238ab7e1f0eac7e3 /sot
parent138075d895d5de17b6df9a12446806ca6d8ed9a0 (diff)
INTEGRATION: CWS ooo64bit01 (1.4.66); FILE MERGED
2004/03/15 23:18:32 fa 1.4.66.1: First bits of 64-bitness. #i25651# & more
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgcache.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sot/source/sdstor/stgcache.hxx b/sot/source/sdstor/stgcache.hxx
index 78ba00838277..439f92cb4c52 100644
--- a/sot/source/sdstor/stgcache.hxx
+++ b/sot/source/sdstor/stgcache.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: stgcache.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: vg $ $Date: 2003-07-22 11:12:58 $
+ * last change: $Author: rt $ $Date: 2004-06-17 12:39:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,9 @@
#ifndef _STGCACHE_HXX
#define _STGCACHE_HXX
+#ifndef _OSL_ENDIAN_H_
+#include <osl/endian.h>
+#endif
#ifndef _TOOLS_SOLAR_H
#include <tools/solar.h>
#endif
@@ -156,7 +159,7 @@ public:
if( ( nOff >= (short) ( nData / sizeof( INT32 ) ) ) || nOff < 0 )
return -1;
INT32 n = ((INT32*) pData )[ nOff ];
-#ifdef __BIGENDIAN
+#ifdef OSL_BIGENDIAN
return SWAPLONG(n);
#else
return n;