1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-04 00:23:25 +08:00

Revert "Remove depricated register declaration"

This reverts commit 3d15e69cdb27354ea1dc777fc1c2ee2dad54247b.
This commit is contained in:
Michael Flaherty 2018-07-19 19:11:47 -07:00
parent 3d15e69cdb
commit ea03cdac8e

View File

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