sal/inc/osl/endian.h |   21 ---------------------
 sal/osl/unx/system.h |   16 ----------------
 2 files changed, 37 deletions(-)

New commits:
commit 3a1441c0d3107c69fd80492fa7e182d4f8c02d3d
Author: François Tigeot <ftig...@wolfpond.org>
Date:   Fri Nov 25 10:38:14 2011 +0100

    PDP_ENDIAN and variants are unused.
    
    Remove their use from the code.

diff --git a/sal/inc/osl/endian.h b/sal/inc/osl/endian.h
index 7069c3b..dace25b 100644
--- a/sal/inc/osl/endian.h
+++ b/sal/inc/osl/endian.h
@@ -61,8 +61,6 @@ extern "C" {
 #           ifndef _BIG_ENDIAN
 #       define _BIG_ENDIAN
 #           endif
-#   elif __BYTE_ORDER == __PDP_ENDIAN
-#       define _PDP_ENDIAN
 #   endif
 #endif
 
@@ -76,8 +74,6 @@ extern "C" {
 #           ifndef _BIG_ENDIAN
 #       define _BIG_ENDIAN
 #           endif
-#   elif __BYTE_ORDER == __PDP_ENDIAN
-#       define _PDP_ENDIAN
 #   endif
 #endif
 
@@ -85,13 +81,8 @@ extern "C" {
 #   include <machine/endian.h>
 #   if BYTE_ORDER == LITTLE_ENDIAN
 #   undef _BIG_ENDIAN
-#   undef _PDP_ENDIAN
 #   elif BYTE_ORDER == BIG_ENDIAN
 #   undef _LITTLE_ENDIAN
-#   undef _PDP_ENDIAN
-#   elif BYTE_ORDER == PDP_ENDIAN
-#   undef _LITTLE_ENDIAN
-#   undef _BIG_ENDIAN
 #   endif
 #endif
 
@@ -103,8 +94,6 @@ extern "C" {
 #       define _LITTLE_ENDIAN
 #   elif BYTE_ORDER == BIG_ENDIAN
 #       define _BIG_ENDIAN
-#   elif BYTE_ORDER == PDP_ENDIAN
-#       define _PDP_ENDIAN
 #   endif
 #endif
 #endif
@@ -119,8 +108,6 @@ extern "C" {
 #       ifndef _BIG_ENDIAN
 #           define _BIG_ENDIAN
 #       endif
-#   elif BYTE_ORDER == PDP_ENDIAN
-#       define _PDP_ENDIAN
 #   endif
 #endif
 
@@ -138,10 +125,6 @@ extern "C" {
 #       ifndef _BIG_ENDIAN
 #       define _BIG_ENDIAN
 #       endif
-#   elif BYTE_ORDER == PDP_ENDIAN
-#       ifndef _PDP_ENDIAN
-#       define _PDP_ENDIAN
-#       endif
 #   endif
 #endif
 
@@ -155,10 +138,6 @@ extern "C" {
 #       ifndef _BIG_ENDIAN
 #       define _BIG_ENDIAN
 #       endif
-#   elif BYTE_ORDER == PDP_ENDIAN
-#       ifndef _PDP_ENDIAN
-#       define _PDP_ENDIAN
-#       endif
 #   endif
 #endif
 
diff --git a/sal/osl/unx/system.h b/sal/osl/unx/system.h
index c8f4871..71b9b31 100644
--- a/sal/osl/unx/system.h
+++ b/sal/osl/unx/system.h
@@ -89,8 +89,6 @@
 #               ifndef _BIG_ENDIAN
 #               define _BIG_ENDIAN
 #               endif
-#   elif __BYTE_ORDER == __PDP_ENDIAN
-#       define _PDP_ENDIAN
 #   endif
 #   define  IORESOURCE_TRANSFER_BSD
 #   define  IOCHANNEL_TRANSFER_BSD_RENO
@@ -142,8 +140,6 @@
 #       define _LITTLE_ENDIAN_OO
 #   elif BYTE_ORDER == BIG_ENDIAN
 #       define _BIG_ENDIAN_OO
-#   elif BYTE_ORDER == PDP_ENDIAN
-#       define _PDP_ENDIAN_OO
 #   endif
 #   define  IORESOURCE_TRANSFER_BSD
 #   define  IOCHANNEL_TRANSFER_BSD_RENO
@@ -179,8 +175,6 @@
 #       define _LITTLE_ENDIAN
 #   elif BYTE_ORDER == BIG_ENDIAN
 #       define _BIG_ENDIAN
-#   elif BYTE_ORDER == PDP_ENDIAN
-#       define _PDP_ENDIAN
 #   endif
 #endif
 #   define  NO_PTHREAD_RTL
@@ -248,8 +242,6 @@
 #       ifndef _BIG_ENDIAN
 #           define _BIG_ENDIAN
 #       endif
-#   elif BYTE_ORDER == PDP_ENDIAN
-#       define _PDP_ENDIAN
 #   endif
 #   define  SLEEP_TIMESPEC(timespec)    nsleep(&timespec, 0)
 #   define  LIBPATH "LIBPATH"
@@ -301,10 +293,6 @@
 #       ifndef _BIG_ENDIAN
 #       define _BIG_ENDIAN
 #       endif
-#   elif BYTE_ORDER == PDP_ENDIAN
-#       ifndef _PDP_ENDIAN
-#       define _PDP_ENDIAN
-#       endif
 #   endif
 #   define  IOCHANNEL_TRANSFER_BSD_RENO
 #   define  NO_PTHREAD_RTL
@@ -341,10 +329,6 @@ int macxp_resolveAlias(char *path, int buflen);
 #       ifndef _BIG_ENDIAN
 #       define _BIG_ENDIAN
 #       endif
-#   elif BYTE_ORDER == PDP_ENDIAN
-#       ifndef _PDP_ENDIAN
-#       define _PDP_ENDIAN
-#       endif
 #   endif
 #   define  IOCHANNEL_TRANSFER_BSD_RENO
 #   define  NO_PTHREAD_RTL
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to