Skip to content

Commit

Permalink
CSS: remove 'register' keyword for C++17 compat (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtldg authored Jan 27, 2025
1 parent 1eed75b commit 6d5c024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/mathlib/mathlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 6d5c024

Please sign in to comment.