mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 01:29:43 +01:00
FreeBSD: Add workaround for libsteam
Steam isn't supported on FreeBSD so add a workaround. Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
This commit is contained in:
parent
699d8c4590
commit
90decede25
1 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
#define NETWORK_LIBRARY "steam_api.dll"
|
||||
#elif defined(__APPLE__)
|
||||
#define NETWORK_LIBRARY "libsteam_api.dylib"
|
||||
#elif defined(__linux__)
|
||||
#elif defined(__linux__) || defined(__FreeBSD__)
|
||||
#define NETWORK_LIBRARY "libsteam_api.so"
|
||||
#else
|
||||
#error NETWORK_LIBRARY: Unrecognized platform!
|
||||
|
@ -97,6 +97,9 @@ static void ClearPointers()
|
|||
|
||||
int NETWORK_init()
|
||||
{
|
||||
#if defined(__FreeBSD__)
|
||||
return 1;
|
||||
#endif
|
||||
intptr_t steamClient;
|
||||
int32_t steamUser, steamPipe;
|
||||
|
||||
|
|
Loading…
Reference in a new issue