fix Linux build (only OpenCL/gwen tested)

This commit is contained in:
erwincoumans
2013-05-20 16:53:43 -07:00
parent 4877a2af8a
commit 453952f202
7 changed files with 29 additions and 5 deletions

View File

@@ -68,7 +68,11 @@ public:
mVec128 = v128;
}
#else
b3Scalar m_floats[4];
union
{
b3Scalar m_floats[4];
struct {b3Scalar x,y,z,w;};
};
#endif // B3_USE_SSE
#endif //__CELLOS_LV2__ __SPU__

View File

@@ -106,7 +106,11 @@ public:
mVec128 = v128;
}
#else
b3Scalar m_floats[4];
union
{
b3Scalar m_floats[4];
struct {b3Scalar x,y,z,w;};
};
#endif
#endif //__CELLOS_LV2__ __SPU__