mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-11 06:25:26 +00:00
(GXO Forgot to commit gx/sdk_defines.h
This commit is contained in:
parent
353bbb5f83
commit
c22146fd0b
24
gx/sdk_defines.h
Normal file
24
gx/sdk_defines.h
Normal file
@ -0,0 +1,24 @@
|
||||
#ifndef _GX_SDK_DEFINES_H
|
||||
#define _GX_SDK_DEFINES_H
|
||||
|
||||
#ifdef GEKKO
|
||||
|
||||
#ifndef OSInitMutex
|
||||
#define OSThread lwp_t
|
||||
#define OSCond lwpq_t
|
||||
#define OSThreadQueue lwpq_t
|
||||
|
||||
#define OSInitMutex(mutex) LWP_MutexInit(mutex, 0)
|
||||
|
||||
#define OSInitCond(cond) LWP_CondInit(cond)
|
||||
#define OSSignalCond(cond) LWP_ThreadSignal(cond)
|
||||
|
||||
#define OSInitThreadQueue(queue) LWP_InitQueue(queue)
|
||||
#define OSSleepThread(queue) LWP_ThreadSleep(queue)
|
||||
|
||||
#define OSCreateThread(thread, func, intarg, ptrarg, stackbase, stacksize, priority, attrs) LWP_CreateThread(thread, func, ptrarg, stackbase, stacksize, priority)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user