summaryrefslogtreecommitdiffstats
path: root/cppu
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2001-10-12 15:20:12 +0000
committerDaniel Boelzle <dbo@openoffice.org>2001-10-12 15:20:12 +0000
commit6d9ba49e20534cb7d4adb40c61be273117e13473 (patch)
tree0f67053e947bbc323bfca0ed2caa916c15c8ef8b /cppu
parent#88337# documentation reviewd (diff)
downloadcore-6d9ba49e20534cb7d4adb40c61be273117e13473.tar.gz
core-6d9ba49e20534cb7d4adb40c61be273117e13473.zip
#92951# aligment macros for gnuc3
Diffstat (limited to 'cppu')
-rw-r--r--cppu/inc/cppu/macros.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/cppu/inc/cppu/macros.hxx b/cppu/inc/cppu/macros.hxx
index daed2f57eb74..0ec46f09f1f4 100644
--- a/cppu/inc/cppu/macros.hxx
+++ b/cppu/inc/cppu/macros.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: macros.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: dbo $ $Date: 2001-10-11 14:07:47 $
+ * last change: $Author: dbo $ $Date: 2001-10-12 16:20:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,6 +68,8 @@
#include <uno/lbnames.h>
#endif
+// patching the GNU3 incomatible alignment change
+#define CPPU_GNU3_ALIGN( x )
// Microsoft Visual C++ 4.x, 5.0, 6.0
#if defined(_MSC_VER)
@@ -133,6 +135,8 @@
# define CPPU_CLBN_TMP UNO_LB_GCC3
# define CPPU_CLBN_NS_TMP UNO_LB_GCC3_NAMESPACE
# define CPPU_DLL_POSTFIX "GCC"
+#undef CPPU_GNU3_ALIGN
+#define CPPU_GNU3_ALIGN( x ) __attribute__ ((aligned (x)))
# else
# error "unknown gcc version"
# endif