From abac8ec9374be88fd3c845065ce026f2fdfb7e71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Thu, 3 Sep 2020 22:50:40 -0700 Subject: [PATCH] Fixed build. --- src/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread.cpp b/src/thread.cpp index 77c1adc..eabcbbd 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -280,7 +280,7 @@ namespace bx // Try to use the new thread naming API from Win10 Creators update onwards if we have it typedef HRESULT (WINAPI *SetThreadDescriptionProc)(HANDLE, PCWSTR); SetThreadDescriptionProc SetThreadDescription = bx::functionCast( - GetProcAddress(GetModuleHandleA("Kernel32.dll"), "SetThreadDescription") + bx::dlsym(GetModuleHandleA("Kernel32.dll"), "SetThreadDescription") ); if (SetThreadDescription) {