summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/efl_net_socket_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_con/efl_net_socket_udp.c')
-rw-r--r--src/lib/ecore_con/efl_net_socket_udp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_con/efl_net_socket_udp.c b/src/lib/ecore_con/efl_net_socket_udp.c
index 4e610f9560..b534a90dd8 100644
--- a/src/lib/ecore_con/efl_net_socket_udp.c
+++ b/src/lib/ecore_con/efl_net_socket_udp.c
@@ -417,6 +417,8 @@ _efl_net_socket_udp_reuse_port_set(Eo *o, Efl_Net_Socket_Udp_Data *pd, Eina_Bool
417 pd->reuse_port = old; 417 pd->reuse_port = old;
418 return EINA_FALSE; 418 return EINA_FALSE;
419 } 419 }
420#else
421 (void)o;
420#endif 422#endif
421 423
422 return EINA_TRUE; 424 return EINA_TRUE;
@@ -445,6 +447,8 @@ _efl_net_socket_udp_reuse_port_get(Eo *o, Efl_Net_Socket_Udp_Data *pd)
445 } 447 }
446 448
447 pd->reuse_port = !!value; /* sync */ 449 pd->reuse_port = !!value; /* sync */
450#else
451 (void)o;
448#endif 452#endif
449 453
450 return pd->reuse_port; 454 return pd->reuse_port;