Haiku defines B_BEOS_VERSION_5, so the code didn't work as intended. On Haiku,

we want to define closesocket() as close().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35079 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-01-14 21:50:50 +00:00
parent 41777edb47
commit 9d3442dff1
@@ -32,8 +32,8 @@
#include <Errors.h>
#if B_BEOS_VERSION <= B_BEOS_VERSION_5
//# define B_BAD_DATA -2147483632L
#ifdef HAIKU_TARGET_PLATFORM_BEOS
# define B_BAD_DATA -2147483632L
#else
# ifndef closesocket
# define closesocket(fd) close(fd)