From: Bowon Ryu Date: Tue, 28 Jun 2016 10:26:00 +0000 (+0900) Subject: ecore_input: dont try to build a joystick feature on window os. X-Git-Tag: accepted/tizen/common/20160703.130129~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3230a87b3e99d7843a23f96d2ae00c7a5cca46b;p=platform%2Fupstream%2Fefl.git ecore_input: dont try to build a joystick feature on window os. this broke the compilation on windows os. Change-Id: Ia0f93967ed4b9b456f4de43934a098a9316841cb --- 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