Skip to content

Commit 32edc0d

Browse files
committed
A few small changes to sync with Steamworks.
1 parent 9ba30bd commit 32edc0d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

include/steam/isteamnetworkingsockets.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,6 @@ class ISteamNetworkingSockets
453453
};
454454
#define STEAMNETWORKINGSOCKETS_INTERFACE_VERSION "SteamNetworkingSockets008"
455455

456-
extern "C" {
457-
458456
// Global accessor.
459457
#if defined( STEAMNETWORKINGSOCKETS_PARTNER )
460458

@@ -556,6 +554,4 @@ struct SteamNetAuthenticationStatus_t
556554

557555
#pragma pack( pop )
558556

559-
}
560-
561557
#endif // ISTEAMNETWORKINGSOCKETS

include/steam/isteamnetworkingutils.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ class ISteamNetworkingUtils
174174
gameserver one. Yes, this is a completely terrible hack */
175175
SteamInternal_FindOrCreateUserInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ) ?
176176
SteamInternal_FindOrCreateUserInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ) :
177-
SteamInternal_FindOrCreateGameServerInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION )
177+
SteamInternal_FindOrCreateGameServerInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ),
178+
"global",
179+
STEAMNETWORKINGUTILS_INTERFACE_VERSION
178180
)
179181
#endif
180182

0 commit comments

Comments
 (0)