Merge pull request #5269 from Doxense/fix-flow-build-issue

Fix flow build issues on Windows
This commit is contained in:
Markus Pilman 2021-07-26 14:16:37 -06:00 committed by GitHub
commit 8a516ea2e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,6 @@
// Thread naming only works on Linux.
#if defined(__linux__)
#include "flow/IThreadPool.h"
#include <pthread.h>
@ -6,9 +9,6 @@
#include "flow/UnitTest.h"
#include "flow/actorcompiler.h" // has to be last include
// Thread naming only works on Linux.
#if defined(__linux__)
void forceLinkIThreadPoolTests() {}
struct ThreadNameReceiver : IThreadPoolReceiver {

View File

@ -21,6 +21,7 @@
#pragma once
#include <algorithm>
#include <iterator>
#include <cstring>
#include <functional>
#include <map>