ecore_input: dont try to build a joystick feature on window os. 49/77049/1
authorBowon Ryu <bowon.ryu@samsung.com>
Tue, 28 Jun 2016 10:26:00 +0000 (19:26 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 28 Jun 2016 10:26:00 +0000 (19:26 +0900)
this broke the compilation on windows os.

Change-Id: Ia0f93967ed4b9b456f4de43934a098a9316841cb

src/lib/ecore_input/Ecore_Input.h
src/lib/ecore_input/ecore_input_joystick.c

index d91a943..e5490eb 100644 (file)
@@ -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
 }
index d8d3aec..3db1710 100644 (file)
@@ -1,3 +1,4 @@
+#ifndef _WIN32
 #include <libudev.h>
 #include <stdio.h>
 #include <fcntl.h>
@@ -389,3 +390,4 @@ ecore_input_joystick_shutdown(void)
 
    return _ecore_input_joystick_init_count;
 }
+#endif