From 45fbdb78c51521a04bd51efd1b5aec5260dfdf2d Mon Sep 17 00:00:00 2001 From: Fletcher Dunn Date: Wed, 6 Sep 2023 13:46:35 -0700 Subject: [PATCH] Fix Nintendo switch compile --- .../clientlib/steamnetworkingsockets_lowlevel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steamnetworkingsockets/clientlib/steamnetworkingsockets_lowlevel.cpp b/src/steamnetworkingsockets/clientlib/steamnetworkingsockets_lowlevel.cpp index c27cc0b..6a4697e 100644 --- a/src/steamnetworkingsockets/clientlib/steamnetworkingsockets_lowlevel.cpp +++ b/src/steamnetworkingsockets/clientlib/steamnetworkingsockets_lowlevel.cpp @@ -3779,7 +3779,7 @@ bool GetLocalAddresses( CUtlVector< SteamNetworkingIPAddr >* pAddrs ) free( pAddrInfo ); return true; } -#elif IsPosix() && !IsPlaystation() && !IsAndroid() +#elif IsPosix() && !IsPlaystation() && !IsAndroid() && !IsNintendoSwitch() bool GetLocalAddresses( CUtlVector< SteamNetworkingIPAddr >* pAddrs ) { ifaddrs *pMyAddrInfo = NULL;