1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00

Revert "Remove depricated register declaration"

This reverts commit 0bbc574813.
This commit is contained in:
Michael Flaherty
2018-07-19 19:04:16 -07:00
parent 0bbc574813
commit c15467c9c3

View File

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