summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-11 11:27:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-11 11:47:49 +0000
commitcb0e8c4feb9ef671a2305335a87b120a1077eb50 (patch)
tree4a088196501b035da5c4ee695f21615520befa16 /sal
parenta212ef2b6ebadb22a9abf6d042aa2b5fd9ac1cf0 (diff)
Useless cargo cult?
Change-Id: I0bb5582a6aef51ac65466531115d67c6dbad1fcd Reviewed-on: https://gerrit.libreoffice.org/18493 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/system.hxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/sal/osl/unx/system.hxx b/sal/osl/unx/system.hxx
index 82e3b1dda386..3d6ab4d3a055 100644
--- a/sal/osl/unx/system.hxx
+++ b/sal/osl/unx/system.hxx
@@ -73,13 +73,6 @@
# include <dlfcn.h>
# include <endian.h>
# include <sys/time.h>
-# if __BYTE_ORDER == __LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif __BYTE_ORDER == __BIG_ENDIAN
-# ifndef _BIG_ENDIAN
-# define _BIG_ENDIAN
-# endif
-# endif
# define IORESOURCE_TRANSFER_BSD
# define IOCHANNEL_TRANSFER_BSD_RENO
# define pthread_testcancel()
@@ -185,15 +178,6 @@
# include <sys/un.h>
# include <netinet/tcp.h>
# include <sys/machine.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# ifndef _LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# endif
-# elif BYTE_ORDER == BIG_ENDIAN
-# ifndef _BIG_ENDIAN
-# define _BIG_ENDIAN
-# endif
-# endif
# define SLEEP_TIMESPEC(timespec) nsleep(&timespec, 0)
# define LIBPATH "LIBPATH"
#endif
@@ -230,15 +214,6 @@
# include <machine/endian.h>
# include <sys/time.h>
# include <mach-o/dyld.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# ifndef _LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# endif
-# elif BYTE_ORDER == BIG_ENDIAN
-# ifndef _BIG_ENDIAN
-# define _BIG_ENDIAN
-# endif
-# endif
# define IOCHANNEL_TRANSFER_BSD_RENO
# define NO_PTHREAD_RTL
/* for NSGetArgc/Argv/Environ */
@@ -259,15 +234,6 @@ int macxp_resolveAlias(char *path, int buflen);
# include <netinet/tcp.h>
# include <machine/endian.h>
# include <sys/time.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# ifndef _LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# endif
-# elif BYTE_ORDER == BIG_ENDIAN
-# ifndef _BIG_ENDIAN
-# define _BIG_ENDIAN
-# endif
-# endif
# define IOCHANNEL_TRANSFER_BSD_RENO
# define NO_PTHREAD_RTL
#endif