ifdef certain code with HAVE_LIBRETRODB

This commit is contained in:
twinaphex 2015-11-23 23:44:24 +01:00
parent e7c7c4515a
commit 86f0bdd3d8
2 changed files with 5 additions and 1 deletions

View File

@ -259,8 +259,10 @@ int rarch_main(int argc, char *argv[], void *data)
void *args = (void*)data;
int ret = 0;
settings_t *settings = NULL;
global_t *global = NULL;
driver_t *driver = NULL;
#ifdef HAVE_THREADS
global_t *global = NULL;
#endif
rarch_main_alloc();

View File

@ -30,6 +30,7 @@
cbs->action_scan_ident = #name;
#endif
#ifdef HAVE_LIBETRODB
static void handle_dbscan_finished(void *task_data, void *user_data, const char *err)
{
menu_environment_cb(MENU_ENVIRON_RESET_HORIZONTAL_LIST, NULL);
@ -75,6 +76,7 @@ int action_scan_directory(const char *path,
return 0;
}
#endif
static int menu_cbs_init_bind_scan_compare_type(menu_file_list_cbs_t *cbs,
unsigned type)