From 4674241bf952255e0bfe76309b3f751f80005311 Mon Sep 17 00:00:00 2001 From: Cthulhu-throwaway <96153783+Cthulhu-throwaway@users.noreply.github.com> Date: Fri, 29 Apr 2022 22:39:10 -0300 Subject: [PATCH] (Networking) Move macro to its correct place (#13904) --- libretro-common/include/net/net_compat.h | 2 ++ network/netplay/netplay_frontend.c | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libretro-common/include/net/net_compat.h b/libretro-common/include/net/net_compat.h index f88260dd13..d3a0894f63 100644 --- a/libretro-common/include/net/net_compat.h +++ b/libretro-common/include/net/net_compat.h @@ -56,6 +56,8 @@ #include +#define setsockopt net_setsockopt + #elif defined(VITA) #include diff --git a/network/netplay/netplay_frontend.c b/network/netplay/netplay_frontend.c index 1f316dc594..4b468a9dcf 100644 --- a/network/netplay/netplay_frontend.c +++ b/network/netplay/netplay_frontend.c @@ -93,10 +93,6 @@ #define HAVE_INET6 1 #endif -#ifdef GEKKO -#define setsockopt net_setsockopt -#endif - #ifdef TCP_NODELAY #define SET_TCP_NODELAY(fd) \ { \