diff --git a/src/RageTypes.h b/src/RageTypes.h index a00d71a329..da74c15db6 100644 --- a/src/RageTypes.h +++ b/src/RageTypes.h @@ -181,7 +181,7 @@ public: friend RageVector4 operator * ( float f, const RageVector4& other ) { return other*f; } float x, y, z, w; -} SM_ALIGN(16); +}; struct RageColor { @@ -251,7 +251,7 @@ public: void FromStackCompat( lua_State *L, int iPos ); float r, g, b, a; -} SM_ALIGN(16); +}; /* Convert floating-point 0..1 value to integer 0..255 value. * * @@ -389,7 +389,7 @@ public: RageMatrix GetTranspose() const; float m[4][4]; -} SM_ALIGN(16); +}; #endif diff --git a/src/global.h b/src/global.h index f6f22593c0..4b96dc83ed 100644 --- a/src/global.h +++ b/src/global.h @@ -179,15 +179,6 @@ template struct CompileAssertDecl { }; #define CONST_FUNCTION #endif -#if defined(__GNUC__) -#define SM_ALIGN(n) __attribute__((aligned(n))) -#else -/** @brief A dummy define to keep things going smoothly. */ -#define SM_ALIGN(n) -#endif - - - #include "StdString.h" /** @brief Use RStrings throughout the program. */ typedef StdString::CStdString RString;