diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Fpublic.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/H5Fpublic.h b/src/H5Fpublic.h index c45e71f..94f2bd7 100644 --- a/src/H5Fpublic.h +++ b/src/H5Fpublic.h @@ -25,6 +25,14 @@ #include "H5ACpublic.h" #include "H5Ipublic.h" +/* When this header is included from a private header, don't make calls to H5check() */ +#undef H5CHECK +#ifndef _H5private_H +#define H5CHECK H5check(), +#else /* _H5private_H */ +#define H5CHECK +#endif /* _H5private_H */ + /* * These are the bits that can be passed to the `flags' argument of * H5Fcreate() and H5Fopen(). Use the bit-wise OR operator (|) to combine @@ -35,15 +43,6 @@ * session. * */ - -/* When this header is included from a private header, don't make calls to H5check() */ -#undef H5CHECK -#ifndef _H5private_H -#define H5CHECK H5check(), -#else /* _H5private_H */ -#define H5CHECK -#endif /* _H5private_H */ - #define H5F_ACC_RDONLY (H5CHECK 0x0000u) /*absence of rdwr => rd-only */ #define H5F_ACC_RDWR (H5CHECK 0x0001u) /*open for read and write */ #define H5F_ACC_TRUNC (H5CHECK 0x0002u) /*overwrite existing files */ |