diff options
author | François Tigeot <ftigeot@wolfpond.org> | 2011-11-25 10:38:14 +0100 |
---|---|---|
committer | François Tigeot <ftigeot@wolfpond.org> | 2011-11-25 14:38:11 +0100 |
commit | 3a1441c0d3107c69fd80492fa7e182d4f8c02d3d (patch) | |
tree | 2e32e552092f7f0e34f07256f987bdb4084dd2dc /sal | |
parent | 5aff8df5308d3db93dfb539fb0710e51309207d2 (diff) |
PDP_ENDIAN and variants are unused.
Remove their use from the code.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/osl/endian.h | 21 | ||||
-rw-r--r-- | sal/osl/unx/system.h | 16 |
2 files changed, 0 insertions, 37 deletions
diff --git a/sal/inc/osl/endian.h b/sal/inc/osl/endian.h index 7069c3ba1465..dace25b1d10d 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 c8f487170ba5..71b9b31f7bf2 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(×pec, 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 |