Skip to content

Commit

Permalink
Force use of windows.h instead of default winnt.h (#4288)
Browse files Browse the repository at this point in the history
This fixes the "No target Architecture" error when building on windows.
The windows.h is included instead of processthreadapi.h.
  • Loading branch information
RickiNano authored Sep 21, 2023
1 parent ea7713a commit 1de26b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/lib/plat/windows/thread_role.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <nano/lib/thread_roles.hpp>

#include <processthreadsapi.h>
#include <windows.h>

void nano::thread_role::set_os_name (std::string const & thread_name)
{
Expand Down

0 comments on commit 1de26b6

Please sign in to comment.