mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Update gsPlatformThread.h to include pthread for OpenBSD
This commit is contained in:
parent
ac4b4266b4
commit
38d9f98221
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue