diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index cbee564c..80636c2d 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -2573,7 +2573,7 @@ void Profiler::ReportTopology() }; #if defined _WIN32 || defined __CYGWIN__ - t_GetLogicalProcessorInformationEx _GetLogicalProcessorInformationEx = (t_GetLogicalProcessorInformationEx)GetProcAddress( GetModuleHandleA( "kernel32" ), "GetLogicalProcessorInformationEx" ); + t_GetLogicalProcessorInformationEx _GetLogicalProcessorInformationEx = (t_GetLogicalProcessorInformationEx)GetProcAddress( GetModuleHandleA( "kernel32.dll" ), "GetLogicalProcessorInformationEx" ); if( !_GetLogicalProcessorInformationEx ) return; DWORD psz = 0;