summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-01-20 13:27:49 +0000
committerOliver Bolte <obo@openoffice.org>2006-01-20 13:27:49 +0000
commit428343eca56cdabf9682842b70117448fdaddc49 (patch)
tree42864f32089270c7f96b44d80115b04f34da4b02 /sal
parente2c1842302de598e4ba0ad53aa61c473cd893a0b (diff)
INTEGRATION: CWS pj48 (1.7.56); FILE MERGED
2006/01/08 08:47:35 pjanik 1.7.56.2: #i60036#: Mac OS X: make gcc silent about redefined endian macros 2006/01/07 10:19:13 pjanik 1.7.56.1: #i60036#: Mac OS X: make gcc silent about redefined endian macros
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/osl/endian.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/sal/inc/osl/endian.h b/sal/inc/osl/endian.h
index ddb1580d6b35..997d1d1d84cb 100644
--- a/sal/inc/osl/endian.h
+++ b/sal/inc/osl/endian.h
@@ -4,9 +4,9 @@
*
* $RCSfile: endian.h,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 14:27:08 $
+ * last change: $Author: obo $ $Date: 2006-01-20 14:27:49 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -154,11 +154,17 @@ extern "C" {
#ifdef MACOSX
# include <machine/endian.h>
# if BYTE_ORDER == LITTLE_ENDIAN
+# ifndef _LITTLE_ENDIAN
# define _LITTLE_ENDIAN
+# endif
# elif BYTE_ORDER == BIG_ENDIAN
+# ifndef _BIG_ENDIAN
# define _BIG_ENDIAN
+# endif
# elif BYTE_ORDER == PDP_ENDIAN
+# ifndef _PDP_ENDIAN
# define _PDP_ENDIAN
+# endif
# endif
#endif