aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-03-27 16:11:29 -0300
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-03-27 16:39:22 -0300
commit53a53ee4450bd9c0dd8288eca89c89b181e6ef0c (patch)
treee017d28bedbdbfdae16b1f61dda1161e41a9b5a2
parentecore_ipc: use new efl_net_*_windows classes. (diff)
downloadefl-53a53ee4450bd9c0dd8288eca89c89b181e6ef0c.tar.gz
others: support efl_net_dialer_windows.
these are not working on windows yet due other factors, anyway add the proper ifdefs
-rw-r--r--src/bin/eeze/eeze_scanner_monitor/eeze_scanner_monitor.c5
-rw-r--r--src/bin/efl/efl_debug.c5
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 b6b8e146db..c5a6a057cb 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 428180e38d..28cdb39d24 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)
{