diff options
author | Andrii Kroitor <an.kroitor@samsung.com> | 2016-10-19 17:10:12 +0300 |
---|---|---|
committer | Andrii Kroitor <an.kroitor@samsung.com> | 2016-11-29 16:05:28 +0200 |
commit | c37ebcbf3efe25f587a7adb3f400cec74ff449e6 (patch) | |
tree | 085aa2412a66dfdecaef0f64d45d9a848ec0c9da | |
parent | 2c7bedc622adc5aa872cb3d63d20c8a719203089 (diff) | |
download | efl-c37ebcbf3efe25f587a7adb3f400cec74ff449e6.tar.gz |
ecore_con: fix compilation on Windows
Summary:
Mingw doesn't supply EAI_SYSTEM.
This commit only fixes build. There are still many warnings when compiling this
module. Looks like it doesn't takes Windows into account and probably is broken.
Reviewers: cedric, raster, Hermet, NikaWhite
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4357
-rw-r--r-- | src/lib/ecore_con/ecore_con.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index 7b613715cc..7d90f5b9d0 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -51,6 +51,10 @@ #define MSG_NOSIGNAL 0 /* noop */ #endif +#ifndef EAI_SYSTEM +#define EAI_SYSTEM -11 /* same as other systems */ +#endif + static Eina_Bool _ecore_con_client_timer(Ecore_Con_Client *cl); static void _ecore_con_cl_timer_update(Ecore_Con_Client *cl); static Eina_Bool _ecore_con_server_timer(Ecore_Con_Server *svr); |