mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
Fix unit test build on Windows
Like Tom de Vries' earlier patch to fix the no-CXX_STD_THREAD case in maint.c, this patch fixes a similar problem in parallel-for-selftests.c. This fixes a build failure on Windows.
This commit is contained in:
@ -20,10 +20,11 @@
|
|||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "gdbsupport/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
#include "gdbsupport/parallel-for.h"
|
#include "gdbsupport/parallel-for.h"
|
||||||
#include "gdbsupport/thread-pool.h"
|
|
||||||
|
|
||||||
#if CXX_STD_THREAD
|
#if CXX_STD_THREAD
|
||||||
|
|
||||||
|
#include "gdbsupport/thread-pool.h"
|
||||||
|
|
||||||
namespace selftests {
|
namespace selftests {
|
||||||
namespace parallel_for {
|
namespace parallel_for {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user