Commit 639a85bb authored by Vladimir Serbinenko's avatar Vladimir Serbinenko
Browse files

3ds: Add missing defines and files for network

parent 06fdde61
...@@ -120,7 +120,11 @@ SOURCES_C += $(CORE_DIR)/common/net_dgrm.c \ ...@@ -120,7 +120,11 @@ SOURCES_C += $(CORE_DIR)/common/net_dgrm.c \
$(CORE_DIR)/common/net_udp.c \ $(CORE_DIR)/common/net_udp.c \
$(CORE_DIR)/common/net_bsd.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 += \ SOURCES_C += \
$(LIBRETRO_COMM_DIR)/net/net_compat.c \ $(LIBRETRO_COMM_DIR)/net/net_compat.c \
$(LIBRETRO_COMM_DIR)/net/net_socket.c $(LIBRETRO_COMM_DIR)/net/net_socket.c
......
...@@ -54,6 +54,10 @@ struct in_addr { ...@@ -54,6 +54,10 @@ struct in_addr {
#define SO_BROADCAST SCE_NET_SO_BROADCAST #define SO_BROADCAST SCE_NET_SO_BROADCAST
#endif #endif
#ifdef _3DS
#define SO_BROADCAST 0x20
#endif
#ifndef INADDR_NONE #ifndef INADDR_NONE
#define INADDR_NONE ((uint32_t) 0xffffffff) /* 255.255.255.255 */ #define INADDR_NONE ((uint32_t) 0xffffffff) /* 255.255.255.255 */
#endif #endif
......
Markdown is supported
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