diff --git a/public/mathlib/mathlib.h b/public/mathlib/mathlib.h index 94054e74..f8f7ccb9 100644 --- a/public/mathlib/mathlib.h +++ b/public/mathlib/mathlib.h @@ -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));