[Libreoffice-commits] .: sal/osl

François Tigeot ftigeot at kemper.freedesktop.org
Tue Jan 31 01:25:59 PST 2012


 sal/osl/unx/system.h |   23 -----------------------
 1 file changed, 23 deletions(-)

New commits:
commit 4178a9bc423912687c8cefd327e35bffccb53a97
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Tue Jan 31 09:41:16 2012 +0100

    Remove unused endianess defines

diff --git a/sal/osl/unx/system.h b/sal/osl/unx/system.h
index 1830bf3..881bc88 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


More information about the Libreoffice-commits mailing list