summaryrefslogtreecommitdiffstats
path: root/src/H5VLpkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5VLpkg.h')
-rw-r--r--src/H5VLpkg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5VLpkg.h b/src/H5VLpkg.h
index 1b1d7b7..8dadd27 100644
--- a/src/H5VLpkg.h
+++ b/src/H5VLpkg.h
@@ -21,7 +21,7 @@
* the H5VL package. Source files outside the H5VL package should
* include H5VLprivate.h instead.
*/
-#ifndef H5VL_PACKAGE
+#if !(defined H5VL_FRIEND || defined H5VL_MODULE)
#error "Do not include this file outside the H5VL package!"
#endif