Fixes Windows release build

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-12-03 10:40:22 -08:00
parent c580a0308a
commit 620690f2d6
2 changed files with 9 additions and 3 deletions
@@ -78,8 +78,14 @@ AllocatorDebugConfig BestFitExternalMapAllocator::GetDebugConfig()
// Allocate
// [1/28/2011]
//=========================================================================
BestFitExternalMapAllocator::pointer_type
BestFitExternalMapAllocator::Allocate(size_type byteSize, size_type alignment, int flags, const char* name, const char* fileName, int lineNum, unsigned int suppressStackRecord)
BestFitExternalMapAllocator::pointer_type BestFitExternalMapAllocator::Allocate(
size_type byteSize,
size_type alignment,
int flags,
[[maybe_unused]] const char* name,
[[maybe_unused]] const char* fileName,
[[maybe_unused]] int lineNum,
unsigned int suppressStackRecord)
{
(void)suppressStackRecord;
@@ -215,7 +215,7 @@ namespace Platform
{
if (handle != PlatformSpecificInvalidHandle)
{
off_t result = fseeko(handle, static_cast<off_t>(offset), mode);
fseeko(handle, static_cast<off_t>(offset), mode);
}
}