From f15afef6b3166e5e1466fc1faed224178094c4e2 Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Fri, 1 Apr 2022 13:42:22 -0700 Subject: Fix for unexported global variable on Windows (#1568) --- src/H5private.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/H5private.h b/src/H5private.h index 08e8a5e..d98d76d 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1990,8 +1990,11 @@ extern hbool_t H5_libterm_g; /* Is the library being shutdown? */ /* Extern global to determine if we should use selection I/O if available (this * variable should be removed once selection I/O performs as well as the - * previous scalar I/O implementation */ -extern hbool_t H5_use_selection_io_g; + * previous scalar I/O implementation + * + * NOTE: Must be exposed via H5_DLLVAR so parallel tests pass on Windows. + */ +H5_DLLVAR hbool_t H5_use_selection_io_g; #ifdef H5_HAVE_CODESTACK -- cgit v0.12