Add HAVE_MENU ifdef

This commit is contained in:
twinaphex 2016-04-30 16:11:28 +02:00
parent 928767c5f3
commit 9a4eb1b3d1

View File

@ -260,9 +260,11 @@ static void frontend_win32_environment_get(int *argc, char *argv[],
strlcpy(g_defaults.dir.core_assets, ":\\downloads", sizeof(g_defaults.dir.core_assets));
strlcpy(g_defaults.dir.screenshot, ":\\screenshots", sizeof(g_defaults.dir.screenshot));
#ifdef HAVE_MENU
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES)
snprintf(g_defaults.settings.menu, sizeof(g_defaults.settings.menu), "xmb");
#endif
#endif
}
frontend_ctx_driver_t frontend_ctx_win32 = {