From 3d15e69cdb27354ea1dc777fc1c2ee2dad54247b Mon Sep 17 00:00:00 2001 From: Michael Flaherty Date: Thu, 19 Jul 2018 18:26:10 -0700 Subject: [PATCH] Remove depricated register declaration --- public/mathlib/mathlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/mathlib/mathlib.h b/public/mathlib/mathlib.h index 923a97d6..76b8d9b3 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 ) - register double __cosr, __sinr; + double __cosr, __sinr; __asm __volatile__ ("fsincos" : "=t" (__cosr), "=u" (__sinr) : "0" (radians));