ecore_con: use ioctlsocket() when building for windows.
authorGuillaume Friloux <guillaume.friloux@gmail.com>
Fri, 30 Jan 2015 09:51:52 +0000 (10:51 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 11 Feb 2015 16:03:37 +0000 (17:03 +0100)
commit0e8e4b2728a2a90a3f781e4b8f69e305b9e19b61
tree3e7954ce0c98ef344161343da049be61709eb049
parentfbb82367004db0fb095901ab450f029a7af6dede
ecore_con: use ioctlsocket() when building for windows.

fcntl() doesnt work under windows.

References :
- http://msdn.microsoft.com/en-us/library/windows/desktop/ms738573%28v=vs.85%29.aspx
- http://msdn.microsoft.com/en-us/library/windows/desktop/ms740096%28v=vs.85%29.aspx

imported from Guillaume Friloux ecore fork : https://github.com/gfriloux/ecore/commit/66da77d491d4f304767bac88d9ace4a5ff5f41e0
src/lib/ecore_con/ecore_con.c