Fix: Network on Haiku, remove old code for BeOS

This commit is contained in:
milek7
2021-05-20 23:34:50 +00:00
committed by rubidium42
parent 886f5c104a
commit 7607277380
3 changed files with 9 additions and 66 deletions

View File

@@ -108,6 +108,13 @@ typedef unsigned long in_addr_t;
# undef FD_SETSIZE
# define FD_SETSIZE 64
# endif
/* Haiku says it supports FD_SETSIZE fds, but it really only supports 512. */
# if defined(__HAIKU__)
# undef FD_SETSIZE
# define FD_SETSIZE 512
# endif
#endif /* UNIX */
/* OS/2 stuff */