1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 12:06:07 +08:00

Portions of L4D SDK compile and link on Mac OS X (bug 4684, r=me).

This commit is contained in:
Scott Ehlert
2010-10-14 16:36:09 -05:00
parent 0ab19ebe2e
commit 9995112ca5
32 changed files with 103 additions and 88 deletions

View File

@ -134,7 +134,7 @@ const Vector4D vec4_invalid( FLT_MAX, FLT_MAX, FLT_MAX, FLT_MAX );
#ifdef _WIN32
class __declspec(align(16)) Vector4DAligned : public Vector4D
#elif _LINUX
#elif defined _LINUX || defined __APPLE__
class __attribute__((aligned(16))) Vector4DAligned : public Vector4D
#endif
{