projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
733ae98
)
Fix unit test build on Windows
author
Tom Tromey
<tromey@adacore.com>
Wed, 8 Sep 2021 15:17:39 +0000
(09:17 -0600)
committer
Tom Tromey
<tromey@adacore.com>
Wed, 8 Sep 2021 15:17:39 +0000
(09:17 -0600)
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.
gdb/unittests/parallel-for-selftests.c
patch
|
blob
|
history
diff --git
a/gdb/unittests/parallel-for-selftests.c
b/gdb/unittests/parallel-for-selftests.c
index a2cd47251ebb3d460b194a9ea76753635a46076c..f149e72f0c72c65be931b0dd548e4ddab21f4398 100644
(file)
--- a/
gdb/unittests/parallel-for-selftests.c
+++ b/
gdb/unittests/parallel-for-selftests.c
@@
-20,10
+20,11
@@
#include "defs.h"
#include "gdbsupport/selftest.h"
#include "gdbsupport/parallel-for.h"
-#include "gdbsupport/thread-pool.h"
#if CXX_STD_THREAD
+#include "gdbsupport/thread-pool.h"
+
namespace selftests {
namespace parallel_for {