From 75ca4f2cd356d56292e24bc8d9010ed6208a9ba4 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 f8f7ccb9..94054e74 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__ ) - register double __cosr, __sinr; + double __cosr, __sinr; __asm __volatile__ ("fsincos" : "=t" (__cosr), "=u" (__sinr) : "0" (radians));