Update to NazaraUtils 2023.12.28

This commit is contained in:
SirLynix
2023-12-28 13:26:04 +01:00
parent 3d21401569
commit 08eaf396ed
7 changed files with 13 additions and 13 deletions

View File

@@ -118,7 +118,7 @@ namespace Nz::PlatformImpl
static SetThreadDescriptionFunc SetThreadDescription = reinterpret_cast<SetThreadDescriptionFunc>(::GetProcAddress(::GetModuleHandleW(L"Kernel32.dll"), "SetThreadDescription"));
if (SetThreadDescription)
SetThreadDescription(threadHandle, ToWideString(threadName).data());
#if NAZARA_UTILS_WINDOWS_NT6
#if NAZARAUTILS_WINDOWS_NT6
else
RaiseThreadNameException(::GetThreadId(threadHandle), threadName);
#else

View File

@@ -51,7 +51,7 @@ namespace Nz
Time GetElapsedMillisecondsImpl()
{
#if NAZARA_UTILS_WINDOWS_NT6
#if NAZARAUTILS_WINDOWS_NT6
return Time::Milliseconds(GetTickCount64());
#else
return Time::Milliseconds(GetTickCount());