From 62a556e8ceb050aecaf2f6f0edfe81214c906b48 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 23 Nov 2015 11:05:19 +0100 Subject: [PATCH] retro_log.h - hacky but necessary to get it to work --- libretro-common/include/retro_log.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/libretro-common/include/retro_log.h b/libretro-common/include/retro_log.h index ffb2e17dcb..2ebffa728f 100644 --- a/libretro-common/include/retro_log.h +++ b/libretro-common/include/retro_log.h @@ -65,17 +65,14 @@ FILE *retro_main_log_file(void); #define PROGRAM_NAME "N/A" #endif +#ifdef RARCH_INTERNAL +#include "../../runloop.h" +#endif static INLINE bool RARCH_LOG_VERBOSE(void) { bool *verbose = NULL; #ifdef RARCH_INTERNAL -#ifdef __cplusplus - extern "C" bool *retro_main_verbosity(void); -#else - extern bool *retro_main_verbosity(void); -#endif - verbose = retro_main_verbosity(); #endif if (!verbose)