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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user