mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Added OS X static libs for the future.
This commit is contained in:
@ -336,9 +336,10 @@ public:
|
||||
void Set(void *);
|
||||
|
||||
private:
|
||||
uint32 m_index;
|
||||
#if defined(POSIX)
|
||||
pthread_key_t m_index;
|
||||
#else
|
||||
uint32 m_index;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -890,7 +891,7 @@ template <> struct CAutoLockTypeDeducer<sizeof(CAlignedThreadFastMutex)> { typed
|
||||
CAutoLockT< type > UNIQUE_ID( static_cast<const type &>( mutex ) )
|
||||
|
||||
#define AUTO_LOCK( mutex ) \
|
||||
AUTO_LOCK_( CAutoLockTypeDeducer<sizeof(mutex)>::Type_t, mutex )
|
||||
AUTO_LOCK_( typeof(CAutoLockTypeDeducer<sizeof(mutex)>::Type_t), mutex )
|
||||
|
||||
|
||||
#define AUTO_LOCK_FM( mutex ) \
|
||||
|
Reference in New Issue
Block a user