Commit c061aaa8 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Temporary fix for BEOS.

tcp_read/write should not be used.
parent e808aa49
......@@ -110,6 +110,11 @@ LIBLUTIL_F (char *) WSAGetErrorString LDAP_P((int));
#elif HAVE_CLOSESOCKET
# define tcp_close( s ) closesocket( s )
# ifdef __BEOS__
# define tcp_read( s, buf, len ) recv( s, buf, len, 0 )
# define tcp_write( s, buf, len ) send( s, buf, len, 0 )
# endif
#else
# define tcp_close( s ) close( s )
# define tcp_read( s, buf, len) read( s, buf, len )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment