mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-08 02:58:24 +00:00
Remove Deprecated 'register' Keyword (#300)
Fixes compile errors when compiling with C++17 or better.
This commit is contained in:
parent
fef9f18cfc
commit
47a0ae90ef
@ -328,7 +328,7 @@ void inline SinCos( float radians, float *sine, float *cosine )
|
||||
fstp DWORD PTR [eax]
|
||||
}
|
||||
#elif defined( _LINUX ) || defined ( __APPLE__ )
|
||||
register double __cosr, __sinr;
|
||||
double __cosr, __sinr;
|
||||
__asm __volatile__
|
||||
("fsincos"
|
||||
: "=t" (__cosr), "=u" (__sinr) : "0" (radians));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user