summaryrefslogtreecommitdiffstats
path: root/src/H5Lpkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Lpkg.h')
-rw-r--r--src/H5Lpkg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Lpkg.h b/src/H5Lpkg.h
index 2e931f5..bb8534b 100644
--- a/src/H5Lpkg.h
+++ b/src/H5Lpkg.h
@@ -21,7 +21,7 @@
* only within the H5L package. Source files outside the
* H5L package should include H5Lprivate.h instead.
*/
-#ifndef H5L_PACKAGE
+#if !(defined H5L_FRIEND || defined H5L_MODULE)
#error "Do not include this file outside the H5L package!"
#endif