diff options
-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 |