diff --git a/include/steam/isteamnetworkingsockets.h b/include/steam/isteamnetworkingsockets.h index 7dc981f7..c51eceed 100644 --- a/include/steam/isteamnetworkingsockets.h +++ b/include/steam/isteamnetworkingsockets.h @@ -453,8 +453,6 @@ class ISteamNetworkingSockets }; #define STEAMNETWORKINGSOCKETS_INTERFACE_VERSION "SteamNetworkingSockets008" -extern "C" { - // Global accessor. #if defined( STEAMNETWORKINGSOCKETS_PARTNER ) @@ -556,6 +554,4 @@ struct SteamNetAuthenticationStatus_t #pragma pack( pop ) -} - #endif // ISTEAMNETWORKINGSOCKETS diff --git a/include/steam/isteamnetworkingutils.h b/include/steam/isteamnetworkingutils.h index f7f85032..002be0f3 100644 --- a/include/steam/isteamnetworkingutils.h +++ b/include/steam/isteamnetworkingutils.h @@ -174,7 +174,9 @@ class ISteamNetworkingUtils gameserver one. Yes, this is a completely terrible hack */ SteamInternal_FindOrCreateUserInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ) ? SteamInternal_FindOrCreateUserInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ) : - SteamInternal_FindOrCreateGameServerInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ) + SteamInternal_FindOrCreateGameServerInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ), + "global", + STEAMNETWORKINGUTILS_INTERFACE_VERSION ) #endif