From ea03cdac8e483655d76da5022a8888d6f935c206 Mon Sep 17 00:00:00 2001 From: Michael Flaherty Date: Thu, 19 Jul 2018 19:11:47 -0700 Subject: [PATCH] Revert "Remove depricated register declaration" This reverts commit 3d15e69cdb27354ea1dc777fc1c2ee2dad54247b. --- 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 76b8d9b3..923a97d6 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 ) - double __cosr, __sinr; + register double __cosr, __sinr; __asm __volatile__ ("fsincos" : "=t" (__cosr), "=u" (__sinr) : "0" (radians));