From 3b288752e066f2c03331478585627a5685ef738f Mon Sep 17 00:00:00 2001 From: mbr Date: Thu, 8 May 2003 18:08:11 +0000 Subject: Fix breakage and remove redundant _LITTLE_ENDIAN defines. Remove unneeded include defines. --- .../files/patch-sal+inc+osl+endian.h | 16 ++++++++++++++++ .../files/patch-sal+osl+unx+system.h | 18 ++++++++++-------- 2 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h (limited to 'editors/openoffice-3-devel') diff --git a/editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h b/editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h new file mode 100644 index 00000000000..22146c36934 --- /dev/null +++ b/editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h @@ -0,0 +1,16 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 +@@ -108,13 +108,6 @@ + + #ifdef FREEBSD + # include +-# if BYTE_ORDER == LITTLE_ENDIAN +-# define _LITTLE_ENDIAN +-# elif BYTE_ORDER == BIG_ENDIAN +-# define _BIG_ENDIAN +-# elif BYTE_ORDER == PDP_ENDIAN +-# define _PDP_ENDIAN +-# endif + #endif + + #ifdef SCO diff --git a/editors/openoffice-3-devel/files/patch-sal+osl+unx+system.h b/editors/openoffice-3-devel/files/patch-sal+osl+unx+system.h index 806e8f6c35c..38de4aa359f 100644 --- a/editors/openoffice-3-devel/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice-3-devel/files/patch-sal+osl+unx+system.h @@ -1,6 +1,6 @@ --- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002 +++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003 -@@ -203,8 +203,16 @@ +@@ -203,25 +203,25 @@ # include # include # include @@ -12,15 +12,17 @@ +# include +# include +# include -+# include -+# include # include # include # define IORESOURCE_TRANSFER_BSD -@@ -216,12 +224,13 @@ - # elif BYTE_ORDER == PDP_ENDIAN - # define _PDP_ENDIAN - # endif + # include +-# if BYTE_ORDER == LITTLE_ENDIAN +-# define _LITTLE_ENDIAN +-# elif BYTE_ORDER == BIG_ENDIAN +-# define _BIG_ENDIAN +-# elif BYTE_ORDER == PDP_ENDIAN +-# define _PDP_ENDIAN +-# endif -# define sched_yield() pthread_yield() -# define pthread_testcancel() # define NO_PTHREAD_RTL @@ -36,7 +38,7 @@ #endif #ifdef SCO -@@ -569,12 +578,14 @@ +@@ -547,12 +547,14 @@ #endif #ifdef NO_PTHREAD_RTL -- cgit