summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-04-01 20:42:22 (GMT)
committerGitHub <noreply@github.com>2022-04-01 20:42:22 (GMT)
commitf15afef6b3166e5e1466fc1faed224178094c4e2 (patch)
tree47668d01c68062e162773ad895682c9110810b1c /src/H5private.h
parente8ea8500042e922fb845821765f2db10dbb57416 (diff)
downloadhdf5-f15afef6b3166e5e1466fc1faed224178094c4e2.zip
hdf5-f15afef6b3166e5e1466fc1faed224178094c4e2.tar.gz
hdf5-f15afef6b3166e5e1466fc1faed224178094c4e2.tar.bz2
Fix for unexported global variable on Windows (#1568)
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h7
1 files 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