Skip to content

Commit

Permalink
Add processthreadsapi.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jesswong committed Nov 27, 2024
1 parent 5511d71 commit 0f2ebe7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/async_stack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#include <cassert>
#include <mutex>

#if defined(_WIN32)
#include <processthreadsapi.h>
#endif

#if !defined(UNIFEX_ASYNC_STACK_ROOT_USE_PTHREAD)
#if defined(__linux__)
# define UNIFEX_ASYNC_STACK_ROOT_USE_PTHREAD 1
Expand Down

0 comments on commit 0f2ebe7

Please sign in to comment.