mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
fix dedicated build
This commit is contained in:
@@ -94,11 +94,7 @@ const int MAX_THREAD_IDS = 128;
|
||||
|
||||
static volatile bool s_bThreadIDAllocated[MAX_THREAD_IDS];
|
||||
|
||||
#if defined(_LINUX) && defined(DEDICATED)
|
||||
|
||||
DLL_CLASS_EXPORT __thread int g_nThreadID;
|
||||
|
||||
#elif defined(_PS3)
|
||||
#if defined(_PS3)
|
||||
#include "tls_ps3.h"
|
||||
#else
|
||||
DLL_CLASS_EXPORT CTHREADLOCALINT g_nThreadID;
|
||||
@@ -1684,7 +1680,7 @@ bool CThreadFullMutex::Release()
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if defined( WIN32 ) || defined( _PS3 ) || defined( _OSX ) || ( defined (_LINUX) && !defined(DEDICATED) )
|
||||
#if defined( WIN32 ) || defined( _PS3 ) || defined( _OSX ) || defined (_LINUX)
|
||||
#if !defined(_PS3)
|
||||
namespace GenericThreadLocals
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user