ecore_con: fix compiling on OSX and BSD
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>
Tue, 23 Aug 2016 09:32:21 +0000 (11:32 +0200)
committerJean Guyomarc'h <jean.guyomarch@gmail.com>
Tue, 23 Aug 2016 18:28:44 +0000 (20:28 +0200)
commit0ced470e3963bda560b74092ce491efbc6a91c02
tree0242b6ed902b0e4dc3c6036cf37a76ec55fb9538
parent6de774455bb43e153815dfc27645dd292995b309
ecore_con: fix compiling on OSX and BSD

TCP_CORK is Linux only. TCP_NOPUSH is supposed to
do the same thing than TCP_CORK, but on BSD (including
Mac OS X).

We now check for the existance of TCP_CORK or TCP_NOPUSH,
and use the right option. If none exist, cork_{set,get}
will just fail.
configure.ac
src/lib/ecore_con/efl_net_socket_tcp.c