Merge pull request #5269 from Doxense/fix-flow-build-issue
Fix flow build issues on Windows
This commit is contained in:
commit
8a516ea2e3
|
@ -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 {
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <cstring>
|
||||
#include <functional>
|
||||
#include <map>
|
||||
|
|
Loading…
Reference in New Issue