diff options
author | François Tigeot <ftigeot@wolfpond.org> | 2012-01-31 09:41:16 +0100 |
---|---|---|
committer | François Tigeot <ftigeot@wolfpond.org> | 2012-01-31 10:25:14 +0100 |
commit | 4178a9bc423912687c8cefd327e35bffccb53a97 (patch) | |
tree | fd53ab5871ae0709b632da5998fbd95c5a07aeaf /sal/osl | |
parent | 0a9d8c07ddf054930e1b000cc3c972a3d217d71c (diff) |
Remove unused endianess defines
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/unx/system.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sal/osl/unx/system.h b/sal/osl/unx/system.h index 1830bf3d1746..881bc88f864f 100644 --- a/sal/osl/unx/system.h +++ b/sal/osl/unx/system.h @@ -135,11 +135,6 @@ # include <netinet/tcp.h> # include <dlfcn.h> # include <machine/endian.h> -# if BYTE_ORDER == LITTLE_ENDIAN -# define _LITTLE_ENDIAN_OO -# elif BYTE_ORDER == BIG_ENDIAN -# define _BIG_ENDIAN_OO -# endif # define IORESOURCE_TRANSFER_BSD # define IOCHANNEL_TRANSFER_BSD_RENO # define pthread_testcancel() @@ -341,24 +336,6 @@ int macxp_resolveAlias(char *path, int buflen); # error "Target platform not specified!" #endif -#if defined(NETBSD) -#if defined _LITTLE_ENDIAN_OO -# define _OSL_BIGENDIAN -#elif defined _BIG_ENDIAN_OO -# define _OSL_LITENDIAN -#else -# error undetermined endianess -#endif -#else -#if defined _LITTLE_ENDIAN -# define _OSL_BIGENDIAN -#elif defined _BIG_ENDIAN -# define _OSL_LITENDIAN -#else -# error undetermined endianess -#endif -#endif - #ifndef PTR_FD_SET # define PTR_FD_SET(s) (&(s)) #endif |