1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00

Remove depricated register declaration

This commit is contained in:
Michael Flaherty 2018-07-19 18:26:10 -07:00
parent f46e912fa8
commit 3d15e69cdb

View File

@ -328,7 +328,7 @@ void inline SinCos( float radians, float *sine, float *cosine )
fstp DWORD PTR [eax]
}
#elif defined( _LINUX )
register double __cosr, __sinr;
double __cosr, __sinr;
__asm __volatile__
("fsincos"
: "=t" (__cosr), "=u" (__sinr) : "0" (radians));