From 4555a278a5f3a6cf956a0b78f9c481b40664aa4f Mon Sep 17 00:00:00 2001 From: Michael Flaherty Date: Thu, 19 Jul 2018 19:03:48 -0700 Subject: [PATCH] Revert "Remove depricated register declaration" This reverts commit 4c1add1ac5787acd2dfea26d19867c0f1debcafb. --- 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 0a4fe75e..eaa8b929 100644 --- a/public/mathlib/mathlib.h +++ b/public/mathlib/mathlib.h @@ -329,7 +329,7 @@ void inline SinCos( float radians, float *sine, float *cosine ) fstp DWORD PTR [eax] } #elif defined( GNUC ) - double __cosr, __sinr; + register double __cosr, __sinr; __asm __volatile__ ("fsincos" : "=t" (__cosr), "=u" (__sinr) : "0" (radians)); *sine = __sinr;