mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-11 18:09:30 +08:00
fix inverted condition resulting in a missing import for the api dll
This commit is contained in:
parent
b6e37d8207
commit
77c2d76bb2
@ -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…
x
Reference in New Issue
Block a user