Several miscellaneous portability improvements (no functional changes).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24737 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
68546c6ca4
commit
3cdc47bf0b
5 changed files with 13 additions and 5 deletions
|
|
@ -53,8 +53,8 @@ void DetachThreadLinux(void *);
|
|||
//
|
||||
// Thread Local Storage Operations
|
||||
//
|
||||
typedef unsigned int OS_TLSIndex;
|
||||
#define OS_INVALID_TLS_INDEX 0xFFFFFFFF
|
||||
typedef pthread_key_t OS_TLSIndex;
|
||||
#define OS_INVALID_TLS_INDEX ((pthread_key_t)0xFFFFFFFF)
|
||||
|
||||
OS_TLSIndex OS_AllocTLSIndex();
|
||||
bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue