mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-15 15:21:03 -08:00
haiku: define ESOCKTNOSUPPORT to ENOTSUP
Haiku lacks some parts of POSIX API. Workaround to make sockets work.
This commit is contained in:
parent
517bc6a014
commit
e640ef1c2b
1 changed files with 4 additions and 0 deletions
|
|
@ -1430,6 +1430,10 @@ ecl_make_stream_from_fd(#0,#1,(enum ecl_smmode)#2,
|
|||
"#define NETDB_SUCCESS 0"
|
||||
)
|
||||
|
||||
#+:haiku
|
||||
(clines
|
||||
"#define ESOCKTNOSUPPORT ENOTSUP")
|
||||
|
||||
(Clines
|
||||
"#ifndef NETDB_INTERNAL"
|
||||
"#define NETDB_INTERNAL 0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue