Skip to content

Commit 84bbe1e

Browse files
committed
Fix building under MSVC
1 parent 5434d87 commit 84bbe1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/jthread/jsemaphore.h

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
2222

2323
#if defined(WIN32)
2424
#include <windows.h>
25+
#include <assert.h>
2526
#define MAX_SEMAPHORE_COUNT 1024
2627
#else
2728
#include <pthread.h>

0 commit comments

Comments
 (0)