diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-07-31 10:14:34 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-07-31 10:14:34 +0000 |
commit | 56c07e1018b2bd7cdb8785e5d61754dd7ab3727d (patch) | |
tree | 402fa0dad9b0070129df35c4f862a5e69291ba0b /editors/openoffice.org-1.0/files/patch-cppu::inc::cppu::macros.hxx | |
parent | Add missing ! #ifdef (diff) |
Do the same as linux to work around some alignment problems.
Submitted by: kan
Notes
Notes:
svn path=/head/; revision=63790
Diffstat (limited to 'editors/openoffice.org-1.0/files/patch-cppu::inc::cppu::macros.hxx')
-rw-r--r-- | editors/openoffice.org-1.0/files/patch-cppu::inc::cppu::macros.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice.org-1.0/files/patch-cppu::inc::cppu::macros.hxx b/editors/openoffice.org-1.0/files/patch-cppu::inc::cppu::macros.hxx new file mode 100644 index 000000000000..dad8a1f99a5c --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-cppu::inc::cppu::macros.hxx @@ -0,0 +1,11 @@ +--- ../cppu/inc/cppu/macros.hxx.kan Wed Jul 24 23:28:55 2002 ++++ ../cppu/inc/cppu/macros.hxx Wed Jul 24 23:29:45 2002 +@@ -76,7 +76,7 @@ + the struct inherits from a base struct the first member is no double or [unsigned] long long. + @internal + */ +-#if defined(__GNUC__) && defined(LINUX) && (defined(INTEL) || defined(POWERPC)) && (__GNUC__ == 3) ++#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD)) && (defined(INTEL) || defined(POWERPC)) && (__GNUC__ == 3) + #define CPPU_GCC3_ALIGN( base_struct ) __attribute__ ((aligned (__alignof__ (base_struct)))) + #else + #define CPPU_GCC3_ALIGN( base_struct ) |