(runloop data) Add HAVE_THREADS around some threading-only code

This commit is contained in:
twinaphex 2015-03-18 22:27:52 +01:00
parent b6bf600393
commit 578f59292b

View File

@ -789,8 +789,10 @@ static void data_thread_loop(void *data)
void rarch_main_data_iterate(void)
{
#ifdef HAVE_THREADS
if (g_data_runloop.thread_inited)
return;
#endif
data_runloop_iterate(&g_data_runloop);
}