summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1/files/patch-cppu::test::alignment::diagnose.h
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-1.1/files/patch-cppu::test::alignment::diagnose.h')
-rw-r--r--editors/openoffice-1.1/files/patch-cppu::test::alignment::diagnose.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice-1.1/files/patch-cppu::test::alignment::diagnose.h b/editors/openoffice-1.1/files/patch-cppu::test::alignment::diagnose.h
new file mode 100644
index 000000000000..2a6650400a1e
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-cppu::test::alignment::diagnose.h
@@ -0,0 +1,11 @@
+--- ../cppu/test/alignment/diagnose.h.orig Sat Jul 20 23:54:59 2002
++++ ../cppu/test/alignment/diagnose.h Sat Jul 20 23:55:06 2002
+@@ -64,7 +64,7 @@
+ #include <sal/types.h>
+ #include <stdio.h>
+
+-#if defined(__GNUC__) && defined(LINUX) && defined(INTEL)
++#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD)) && defined(INTEL)
+ #define __ALIGNMENT__(s, n) __alignof__ (s)
+ #else
+ #define __ALIGNMENT__(s, n) n