Update gsPlatformThread.h to include pthread for OpenBSD

This commit is contained in:
ysdragon 2025-02-08 03:49:24 +02:00
parent ac4b4266b4
commit 38d9f98221
No known key found for this signature in database
GPG key ID: AE6E8E17DA81BA0E

View file

@ -89,7 +89,11 @@ extern "C" {
} GSICriticalSection;
typedef void (*GSThreadFunc)(void *arg);
#elif defined(_UNIX) //_LINUX || _MACOSX
#elif defined(_UNIX) // Linux, Mac OS X, openbsd, etc.
#if defined(__OpenBSD__)
#include <pthread.h>
#endif
typedef pthread_mutex_t GSICriticalSection;
typedef struct
{