mirror of
https://github.com/celisej567/source-engine.git
synced 2025-12-31 21:48:22 +03:00
Fix CreateThreadPool
This commit is contained in:
@@ -285,7 +285,7 @@ private:
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
JOB_INTERFACE IThreadPool *CreateThreadPool1()
|
||||
JOB_INTERFACE IThreadPool *CreateThreadPool()
|
||||
{
|
||||
return new CThreadPool;
|
||||
}
|
||||
|
||||
@@ -48,11 +48,13 @@ def build(bld):
|
||||
defines = []
|
||||
|
||||
libs = ['tier0','tier1']
|
||||
linkflags = []
|
||||
|
||||
if bld.env.DEST_OS == 'android':
|
||||
libs += ['ANDROID_SUPPORT']
|
||||
elif bld.env.DEST_OS == 'darwin':
|
||||
libs += ['ICONV', 'COREFOUNDATION', 'CORESERVICES']
|
||||
libs += ['ICONV', 'COREFOUNDATION']
|
||||
linkflags += ['-framework', 'CoreServices']
|
||||
|
||||
install_path = bld.env.LIBDIR
|
||||
|
||||
@@ -64,6 +66,7 @@ def build(bld):
|
||||
includes = includes,
|
||||
defines = defines,
|
||||
use = libs,
|
||||
linkflags = linkflags,
|
||||
install_path = install_path,
|
||||
subsystem = bld.env.MSVC_SUBSYSTEM,
|
||||
idx = bld.get_taskgen_count()
|
||||
|
||||
Reference in New Issue
Block a user