From 32edc0d49b5fe01e0517b62ce8144604468dca71 Mon Sep 17 00:00:00 2001 From: Fletcher Dunn Date: Mon, 24 Feb 2020 14:54:10 -0800 Subject: [PATCH] A few small changes to sync with Steamworks. --- include/steam/isteamnetworkingsockets.h | 4 ---- include/steam/isteamnetworkingutils.h | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) 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