diff --git a/src/mca/io/base/io_base_request.c b/src/mca/io/base/io_base_request.c index f03982b724..e37b0b9510 100644 --- a/src/mca/io/base/io_base_request.c +++ b/src/mca/io/base/io_base_request.c @@ -308,9 +308,9 @@ mca_io_base_request_progress_del() void mca_io_base_request_progress_fini() { +#if OMPI_HAVE_THREADS void *ret; -#if OMPI_HAVE_THREADS /* make the helper thread die */ thread_done = true; if (thread_running) {