From 463a1b74c1ec70611f822af9d0d6740ccc7689e3 Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Sun, 9 Nov 2008 23:35:23 +0000 Subject: [PATCH] The SPURS version requires 16-byte alignment at the moment, and Cell SDK doesn't, so keep it like this for 2.73. @todo: Need to figure out better way to deal with those differences. --- src/LinearMath/btQuadWord.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/LinearMath/btQuadWord.h b/src/LinearMath/btQuadWord.h index 4c90feb08..ad9c3dce2 100644 --- a/src/LinearMath/btQuadWord.h +++ b/src/LinearMath/btQuadWord.h @@ -27,7 +27,11 @@ subject to the following restrictions: /**@brief The btQuadWordStorage class is base class for btVector3 and btQuaternion. * Some issues under PS3 Linux with IBM 2.1 SDK, gcc compiler prevent from using aligned quadword. */ +#ifndef USE_LIBSPE2 +ATTRIBUTE_ALIGNED16(class) btQuadWordStorage +#else class btQuadWordStorage +#endif { protected: