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
tyrquake
Commits
639a85bb
Commit
639a85bb
authored
Mar 15, 2020
by
Vladimir Serbinenko
Browse files
3ds: Add missing defines and files for network
parent
06fdde61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile.common
View file @
639a85bb
...
...
@@ -120,7 +120,11 @@ SOURCES_C += $(CORE_DIR)/common/net_dgrm.c \
$(CORE_DIR)
/common/net_udp.c
\
$(CORE_DIR)
/common/net_bsd.c
ifneq
($(STATIC_LINKING),1)
ifeq
($(platform), ctr)
SOURCES_C
+=
\
$(LIBRETRO_COMM_DIR)
/net/net_compat.c
\
$(LIBRETRO_COMM_DIR)
/net/net_socket.c
else
ifneq
($(STATIC_LINKING),1)
SOURCES_C
+=
\
$(LIBRETRO_COMM_DIR)
/net/net_compat.c
\
$(LIBRETRO_COMM_DIR)
/net/net_socket.c
...
...
common/net_udp.c
View file @
639a85bb
...
...
@@ -54,6 +54,10 @@ struct in_addr {
#define SO_BROADCAST SCE_NET_SO_BROADCAST
#endif
#ifdef _3DS
#define SO_BROADCAST 0x20
#endif
#ifndef INADDR_NONE
#define INADDR_NONE ((uint32_t) 0xffffffff)
/* 255.255.255.255 */
#endif
...
...
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