summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2.0-devel/files/patch-cppu+test+alignment+diagnose.h
blob: 2a6650400a1e359bd7248ffaaa3a0d6ae5c22ebc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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