summaryrefslogtreecommitdiffstats
path: root/src/H5MPpkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5MPpkg.h')
-rw-r--r--src/H5MPpkg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5MPpkg.h b/src/H5MPpkg.h
index 5a0b1f8..e724146 100644
--- a/src/H5MPpkg.h
+++ b/src/H5MPpkg.h
@@ -21,7 +21,7 @@
* the H5MP package. Source files outside the H5MP package should
* include H5MPprivate.h instead.
*/
-#ifndef H5MP_PACKAGE
+#if !(defined H5MP_FRIEND || defined H5MP_MODULE)
#error "Do not include this file outside the H5MP package!"
#endif