[Libreoffice-commits] core.git: sal/osl
Stephan Bergmann
sbergman at redhat.com
Fri Sep 11 04:48:12 PDT 2015
sal/osl/unx/system.hxx | 34 ----------------------------------
1 file changed, 34 deletions(-)
New commits:
commit cb0e8c4feb9ef671a2305335a87b120a1077eb50
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Sep 11 11:27:51 2015 +0200
Useless cargo cult?
Change-Id: I0bb5582a6aef51ac65466531115d67c6dbad1fcd
Reviewed-on: https://gerrit.libreoffice.org/18493
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sal/osl/unx/system.hxx b/sal/osl/unx/system.hxx
index 82e3b1d..3d6ab4d 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
More information about the Libreoffice-commits
mailing list