diff options
author | Tom Tromey <tromey@adacore.com> | 2021-09-08 09:17:39 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-09-08 09:17:39 -0600 |
commit | 828a9ed9ca86020a6dc08c6582d22b4953039623 (patch) | |
tree | d00b5b178a8039f11385bf88c98faacaa0c041e7 /gdb/unittests/parallel-for-selftests.c | |
parent | 733ae98cb8fb0d5653887cfd79aec3cfe5e44846 (diff) | |
download | gdb-828a9ed9ca86020a6dc08c6582d22b4953039623.zip gdb-828a9ed9ca86020a6dc08c6582d22b4953039623.tar.gz gdb-828a9ed9ca86020a6dc08c6582d22b4953039623.tar.bz2 |
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.
Diffstat (limited to 'gdb/unittests/parallel-for-selftests.c')
-rw-r--r-- | gdb/unittests/parallel-for-selftests.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/unittests/parallel-for-selftests.c b/gdb/unittests/parallel-for-selftests.c index a2cd472..f149e72 100644 --- 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 { |