summaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.0/files/patch-cppu::source::uno::data.cxx
blob: 9c0e34bfb60bf1cfd8521c922650077653cff19c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ../cppu/source/uno/data.cxx.kan	Wed Jul 24 23:39:23 2002
+++ ../cppu/source/uno/data.cxx	Wed Jul 24 23:38:49 2002
@@ -295,7 +295,7 @@
 #	pragma pack(8)
 #endif
 
-#if defined(__GNUC__) && defined(LINUX) && defined(INTEL)
+#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD)) && defined(INTEL)
 #define MAX_ALIGNMENT_4
 #endif
 
@@ -307,7 +307,7 @@
     if (OFFSET_OF(s, m) != n) { fprintf( stderr, "### OFFSET_OF(" #s ", "  #m ") = %d instead of expected %d!!!\n", OFFSET_OF(s, m), n ); abort(); }
 
 #ifdef DEBUG
-#if defined(__GNUC__) && defined(LINUX) && (defined(INTEL) || defined(POWERPC))
+#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD)) && (defined(INTEL) || defined(POWERPC))
 #define BINTEST_VERIFYSIZE( s, n ) \
     fprintf( stderr, "> sizeof(" #s ") = %d; __alignof__ (" #s ") = %d\n", sizeof(s), __alignof__ (s) ); \
     if (sizeof(s) != n) { fprintf( stderr, "### sizeof(" #s ") = %d instead of expected %d!!!\n", sizeof(s), n ); abort(); }
OpenPOWER on IntegriCloud