From d3230a87b3e99d7843a23f96d2ae00c7a5cca46b Mon Sep 17 00:00:00 2001 From: Bowon Ryu Date: Tue, 28 Jun 2016 19:26:00 +0900 Subject: [PATCH] ecore_input: dont try to build a joystick feature on window os. this broke the compilation on windows os. Change-Id: Ia0f93967ed4b9b456f4de43934a098a9316841cb --- src/lib/ecore_input/Ecore_Input.h | 2 ++ src/lib/ecore_input/ecore_input_joystick.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/lib/ecore_input/Ecore_Input.h b/src/lib/ecore_input/Ecore_Input.h index d91a943..e5490eb 100644 --- a/src/lib/ecore_input/Ecore_Input.h +++ b/src/lib/ecore_input/Ecore_Input.h @@ -475,6 +475,7 @@ extern "C" { */ EAPI Ecore_Compose_State ecore_compose_get(const Eina_List *seq, char **seqstr_ret); //TIZEN_ONLY(20160627) - Initial version of ecore joystick event +#ifndef _WIN32 /** * Initialises the Ecore Input Joystick system. * @since 1.15 @@ -485,6 +486,7 @@ extern "C" { * @since 1.15 */ EAPI int ecore_input_joystick_shutdown(void); +#endif // #ifdef __cplusplus } diff --git a/src/lib/ecore_input/ecore_input_joystick.c b/src/lib/ecore_input/ecore_input_joystick.c index d8d3aec..3db1710 100644 --- a/src/lib/ecore_input/ecore_input_joystick.c +++ b/src/lib/ecore_input/ecore_input_joystick.c @@ -1,3 +1,4 @@ +#ifndef _WIN32 #include #include #include @@ -389,3 +390,4 @@ ecore_input_joystick_shutdown(void) return _ecore_input_joystick_init_count; } +#endif -- 2.7.4