mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-03-28 14:56:24 +01:00
fix inverted condition resulting in a missing import for the api dll
This commit is contained in:
parent
b6e37d8207
commit
77c2d76bb2
2 changed files with 3 additions and 2 deletions
|
@ -161,9 +161,9 @@ STEAMAPI_API HSteamUser SteamAPI_GetHSteamUser()
|
|||
return CLIENT_HSTEAMUSER;
|
||||
}
|
||||
|
||||
#ifndef STEAMCLIENT_DLL // api
|
||||
#ifdef STEAMCLIENT_DLL // client
|
||||
ISteamClient *g_pSteamClientGameServer{};
|
||||
#else // client
|
||||
#else // api
|
||||
STEAMAPI_API ISteamClient *g_pSteamClientGameServer{};
|
||||
#endif
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
// we need this otherwise 'S_API_EXPORT' will be dllimport
|
||||
#define STEAM_API_EXPORTS
|
||||
|
||||
// C/C++ includes
|
||||
|
|
Loading…
Add table
Reference in a new issue