Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
flycast
Commits
691cd4d8
Commit
691cd4d8
authored
Oct 06, 2018
by
Benjamin FRANCOIS
Browse files
Re-enabled Haiku build
parent
86f371be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
691cd4d8
...
...
@@ -110,7 +110,7 @@ ifneq (,$(findstring unix,$(platform)))
SHARED
:=
-shared
-Wl
,--version-script
=
link.T
LDFLAGS
+=
-Wl
,--no-undefined
ifneq
(,$(findstring Haiku,$(shell uname -s)))
LIBS
+=
-lroot
LIBS
+=
-lroot
-lnetwork
else
LIBS
+=
-lrt
endif
...
...
core/hw/modem/picoppp.cpp
View file @
691cd4d8
...
...
@@ -250,7 +250,7 @@ static void tcp_callback(uint16_t ev, struct pico_socket *s)
#if defined(_WIN32)
struct
protoent
*
tcp_proto
=
getprotobyname
(
"TCP"
);
setsockopt
(
sockfd
,
tcp_proto
->
p_proto
,
TCP_NODELAY
,
(
const
char
*
)
&
optval
,
optlen
);
#elif !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
#elif !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
&& !defined(__HAIKU__)
setsockopt
(
sockfd
,
SOL_TCP
,
TCP_NODELAY
,
(
const
void
*
)
&
optval
,
optlen
);
#else
struct
protoent
*
tcp_proto
=
getprotobyname
(
"TCP"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment