mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-28 06:40:00 +00:00
Wii U platform support
This commit is contained in:
1 parent
509a17dbc3
commit
0c66a50e2d
4 files changed
+76
-1
No files matched your search
@@ -25,6 +25,17 @@ typedef struct _PLT_THREAD {
|
||||
void *context;
|
||||
bool alive;
|
||||
} PLT_THREAD;
|
||||
#elif defined(__WIIU__)
|
||||
typedef OSMutex PLT_MUTEX;
|
||||
typedef struct _PLT_EVENT {
|
||||
OSMutex mutex;
|
||||
OSCondition cond;
|
||||
int signalled;
|
||||
} PLT_EVENT;
|
||||
typedef struct _PLT_THREAD {
|
||||
OSThread thread;
|
||||
int cancelled;
|
||||
} PLT_THREAD;
|
||||
#elif defined (LC_POSIX)
|
||||
typedef pthread_mutex_t PLT_MUTEX;
|
||||
typedef struct _PLT_EVENT {
|
||||
|
||||
Reference in new issue
Block a user