Build in autoconfig now conditionally if only HAVE_BUILTIN_AUTOCONFIG

is defined
This commit is contained in:
twinaphex 2015-01-09 01:10:51 +01:00
parent 957435cbfa
commit 25536735a8

View File

@ -123,7 +123,7 @@ void input_config_autoconfigure_joypad(unsigned idx,
/* false = load from both cfg files and internal */
bool internal_only = !*g_settings.input.autoconfig_dir;
#if defined(HAVE_BUILTIN_AUTOCONFIG) && (!defined(_WIN32) || defined(HAVE_WINXINPUT))
#if defined(HAVE_BUILTIN_AUTOCONFIG)
/* First internal */
for (i = 0; input_builtin_autoconfs[i]; i++)
{