From a79ac53f4bc97c21934bb55827bc4a9fe61769d8 Mon Sep 17 00:00:00 2001 From: John Grub Date: Sat, 14 Jun 2014 13:33:18 -0700 Subject: [PATCH] fix DECL_AUTOCONF_DEVICE macro don't use string literal replacement for binds, which is a macro its self --- input/autoconf/builtin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/autoconf/builtin.h b/input/autoconf/builtin.h index d32da8c310..8d36e8b25b 100644 --- a/input/autoconf/builtin.h +++ b/input/autoconf/builtin.h @@ -20,6 +20,6 @@ #define DECL_BTN(btn, bind) "input_" #btn "_btn = " #bind "\n" #define DECL_AXIS(axis, bind) "input_" #axis "_axis = " #bind "\n" #define DECL_MENU(btn) "input_menu_toggle_btn = " #btn "\n" -#define DECL_AUTOCONF_DEVICE(device, driver, binds) "input_device = \"" #device "\" \ninput_driver = \"" #driver "\" \n" #binds +#define DECL_AUTOCONF_DEVICE(device, driver, binds) "input_device = \"" #device "\" \ninput_driver = \"" #driver "\" \n" binds #endif