From a944921453b1b840410437d2cb12e71b4d13646a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 15 Mar 2015 04:25:49 +0100 Subject: [PATCH] Use INLINE in general.h and include retro_inline.h --- general.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/general.h b/general.h index f2b327b1ac..fb423a3a57 100644 --- a/general.h +++ b/general.h @@ -27,6 +27,7 @@ #include "autosave.h" #include "cheats.h" #include +#include #include "core_options.h" #include "core_info.h" #include "gfx/video_viewport.h" @@ -730,7 +731,7 @@ int rarch_main(int argc, char *argv[]); * * Returns: voltage gain value. **/ -static inline float db_to_gain(float db) +static INLINE float db_to_gain(float db) { return powf(10.0f, db / 20.0f); } @@ -742,7 +743,7 @@ static inline float db_to_gain(float db) * * Sanely kills the program. **/ -static inline void rarch_fail(int error_code, const char *error) +static INLINE void rarch_fail(int error_code, const char *error) { /* We cannot longjmp unless we're in rarch_main_init(). * If not, something went very wrong, and we should