More portions of the SDK compile (and link!) on Mac OS X (bug 4392, r=dvander).

SourceMod compiles and links now. Hurray! Most plugins may also but there may be more work to do.
This commit is contained in:
Scott Ehlert committed 2010-05-13 04:08:37 -05:00
1 parent 7daeca53eb
commit b06949c4cc
29 files changed
+92 -85

No files matched your search

+3 -3
View File
@@ -39,7 +39,7 @@ float _3DNow_Sqrt(float x)
movd root, mm0
femms
}
#elif _LINUX
#elif defined _LINUX || defined __APPLE__
__asm __volatile__( "femms" );
__asm __volatile__
(
@@ -98,7 +98,7 @@ float FASTCALL _3DNow_VectorNormalize (Vector& vec)
movd radius, mm1
femms
}
#elif _LINUX
#elif defined _LINUX || defined __APPLE__
long long a,c;
int b,d;
memcpy(&a,&vec[0],sizeof(a));
@@ -164,7 +164,7 @@ float _3DNow_InvRSquared(const float* v)
movd [r2], mm0
femms
}
#elif _LINUX
#elif defined _LINUX || defined __APPLE__
long long a,c;
int b;
memcpy(&a,&v[0],sizeof(a));