mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
fix windows build scripts, add windows opus support
This commit is contained in:
+1
-1
@@ -666,7 +666,7 @@ int CSmallBlockPool::CountFreeBlocks()
|
||||
// Size of committed memory managed by this heap:
|
||||
int CSmallBlockPool::GetCommittedSize()
|
||||
{
|
||||
unsigned totalSize = (unsigned)m_pCommitLimit - (unsigned)m_pBase;
|
||||
unsigned totalSize = (uintp)m_pCommitLimit - (uintp)m_pBase;
|
||||
Assert( 0 != m_nBlockSize );
|
||||
|
||||
return totalSize;
|
||||
|
||||
@@ -56,6 +56,10 @@ def build(bld):
|
||||
'vcrmode.cpp',
|
||||
'win32consoleio.cpp'
|
||||
]
|
||||
if bld.env.DEST_CPU == 'amd64':
|
||||
source += [
|
||||
'InterlockedCompareExchange128.masm'
|
||||
]
|
||||
else:
|
||||
source += [
|
||||
'cpu_posix.cpp',
|
||||
|
||||
Reference in New Issue
Block a user