mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
Revert "Remove depricated register declaration"
This reverts commit cef0b0a90c
.
This commit is contained in:
parent
cef0b0a90c
commit
ac2f88f6ef
@ -328,7 +328,7 @@ void inline SinCos( float radians, float *sine, float *cosine )
|
||||
fstp DWORD PTR [eax]
|
||||
}
|
||||
#elif defined ( _LINUX ) || defined ( __APPLE__ )
|
||||
double __cosr, __sinr;
|
||||
register double __cosr, __sinr;
|
||||
__asm __volatile__
|
||||
("fsincos"
|
||||
: "=t" (__cosr), "=u" (__sinr) : "0" (radians));
|
||||
|
Loading…
Reference in New Issue
Block a user