From 80cb762cdb0144b49f0ab4edc54c6c2fe1eb775c Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Mon, 29 Jul 2019 16:30:53 -0400 Subject: [PATCH] samples/tasks/database buildfix --- core_info.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core_info.c b/core_info.c index 8a585c09ab..9d5132ba8d 100644 --- a/core_info.c +++ b/core_info.c @@ -1069,6 +1069,7 @@ static bool core_info_compare_api_version(int sys_major, int sys_minor, int majo bool core_info_hw_api_supported(core_info_t *info) { +#ifdef RARCH_INTERNAL unsigned i; enum gfx_ctx_api sys_api; gfx_ctx_flags_t sys_flags = {0}; @@ -1287,4 +1288,7 @@ bool core_info_hw_api_supported(core_info_t *info) } return false; +#else + return true; +#endif }