diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-11 11:27:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-11 11:47:49 +0000 |
commit | cb0e8c4feb9ef671a2305335a87b120a1077eb50 (patch) | |
tree | 4a088196501b035da5c4ee695f21615520befa16 /sal | |
parent | a212ef2b6ebadb22a9abf6d042aa2b5fd9ac1cf0 (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.hxx | 34 |
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(×pec, 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 |