fix windows build scripts, add windows opus support

This commit is contained in:
HappyDOGE
2022-07-28 14:27:56 +03:00
parent 90cd6e0e15
commit 3faf6a69ac
149 changed files with 396 additions and 170 deletions
+1 -1
View File
@@ -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;
+4
View File
@@ -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',