From 3e6acc26431ffc6784a86cdc41b6fd19123c150d Mon Sep 17 00:00:00 2001 From: Michael Flaherty Date: Thu, 19 Jul 2018 19:04:50 -0700 Subject: [PATCH] Revert "Remove depricated register declaration" This reverts commit 05b2d48bebcdf31a51e755350f60ab60ea6c3e3a. --- 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 741001a3..4dc77757 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));