summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgcache.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-06-17 11:38:44 +0000
committerRüdiger Timm <rt@openoffice.org>2004-06-17 11:38:44 +0000
commit138075d895d5de17b6df9a12446806ca6d8ed9a0 (patch)
tree7ac047238e3b19d6b30231fb3b63e28245938d71 /sot/source/sdstor/stgcache.cxx
parent9a324044a4d4c3472bd1632b234cb136d5202492 (diff)
INTEGRATION: CWS ooo64bit01 (1.3.66); FILE MERGED
2004/03/15 23:18:32 fa 1.3.66.1: First bits of 64-bitness. #i25651# & more
Diffstat (limited to 'sot/source/sdstor/stgcache.cxx')
-rw-r--r--sot/source/sdstor/stgcache.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx
index 0896398d553d..9d9b0715778c 100644
--- a/sot/source/sdstor/stgcache.cxx
+++ b/sot/source/sdstor/stgcache.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: stgcache.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: vg $ $Date: 2003-07-22 11:12:47 $
+ * last change: $Author: rt $ $Date: 2004-06-17 12:38:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -74,6 +74,9 @@
#include <string.h>
+#ifndef _OSL_ENDIAN_H_
+#include <osl/endian.h>
+#endif
#ifndef _TOOLS_STRING_HXX
#include <tools/string.hxx>
#endif
@@ -131,7 +134,7 @@ void StgPage::SetPage( short nOff, INT32 nVal )
{
if( ( nOff < (short) ( nData / sizeof( INT32 ) ) ) && nOff >= 0 )
{
-#ifdef __BIGENDIAN
+#ifdef OSL_BIGENDIAN
nVal = SWAPLONG(nVal);
#endif
((INT32*) pData )[ nOff ] = nVal;