barbieri pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a93c2740f21c956ca24c393cb0585d9b59355cab
commit a93c2740f21c956ca24c393cb0585d9b59355cab Author: Gustavo Sverzut Barbieri <barbi...@profusion.mobi> Date: Mon Mar 27 16:11:29 2017 -0300 others: support efl_net_dialer_windows. these are not working on windows yet due other factors, anyway add the proper ifdefs --- src/bin/eeze/eeze_scanner_monitor/eeze_scanner_monitor.c | 5 ++++- src/bin/efl/efl_debug.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/bin/eeze/eeze_scanner_monitor/eeze_scanner_monitor.c b/src/bin/eeze/eeze_scanner_monitor/eeze_scanner_monitor.c index b6b8e14..c5a6a05 100644 --- a/src/bin/eeze/eeze_scanner_monitor/eeze_scanner_monitor.c +++ b/src/bin/eeze/eeze_scanner_monitor/eeze_scanner_monitor.c @@ -156,8 +156,11 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED) #ifdef EFL_NET_DIALER_UNIX_CLASS dialer = efl_add(EFL_NET_DIALER_SIMPLE_CLASS, loop, efl_net_dialer_simple_inner_class_set(efl_added, EFL_NET_DIALER_UNIX_CLASS)); +#elif defined(EFL_NET_DIALER_WINDOWS_CLASS) + dialer = efl_add(EFL_NET_DIALER_SIMPLE_CLASS, loop, + efl_net_dialer_simple_inner_class_set(efl_added, EFL_NET_DIALER_WINDOWS_CLASS)); #else - fprintf(stderr, "ERROR: your platform doesn't support Efl.Net.Dialer.Unix\n"); + fprintf(stderr, "ERROR: your platform doesn't support Efl.Net.Dialer.*\n"); #endif if (!dialer) { diff --git a/src/bin/efl/efl_debug.c b/src/bin/efl/efl_debug.c index 428180e..28cdb39 100644 --- a/src/bin/efl/efl_debug.c +++ b/src/bin/efl/efl_debug.c @@ -155,11 +155,14 @@ main(int argc, char **argv) #ifdef EFL_NET_DIALER_UNIX_CLASS dialer = efl_add(EFL_NET_DIALER_SIMPLE_CLASS, loop, efl_net_dialer_simple_inner_class_set(efl_added, EFL_NET_DIALER_UNIX_CLASS)); +#elif defined(EFL_NET_DIALER_WINDOWS_CLASS) + dialer = efl_add(EFL_NET_DIALER_SIMPLE_CLASS, loop, + efl_net_dialer_simple_inner_class_set(efl_added, EFL_NET_DIALER_WINDOWS_CLASS)); #else /* TODO: maybe start a TCP using locahost:12345? * Right now eina_debug_monitor is only for AF_UNIX, so not an issue. */ - fprintf(stderr, "ERROR: your platform doesn't support Efl.Net.Dialer.Unix\n"); + fprintf(stderr, "ERROR: your platform doesn't support Efl.Net.Dialer.*\n"); #endif if (!dialer) { --