Add OpenBSD support

This commit is contained in:
Brian Callahan authored and Ethan Lee committed 2020-01-11 00:25:31 -05:00
1 parent 66716fef37
commit 8aebead754
3 files changed
+7 -6

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@
#define NETWORK_LIBRARY "steam_api.dll"
#elif defined(__APPLE__)
#define NETWORK_LIBRARY "libsteam_api.dylib"
#elif defined(__linux__) || defined(__FreeBSD__)
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#define NETWORK_LIBRARY "libsteam_api.so"
#else
#error NETWORK_LIBRARY: Unrecognized platform!
@@ -97,7 +97,7 @@ static void ClearPointers()
int NETWORK_init()
{
#if defined(__FreeBSD__)
#if defined(__FreeBSD__) || defined(__OpenBSD__)
return 1;
#endif
intptr_t steamClient;