diff options
Diffstat (limited to 'editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h')
-rw-r--r-- | editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h | 24 |
1 files changed, 14 insertions, 10 deletions
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 index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../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 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include <sys/param.h> # include <machine/endian.h> --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO |