diff --git a/include/netcdf.h b/include/netcdf.h index 2cd29b5ac..4fd0d6bf2 100644 --- a/include/netcdf.h +++ b/include/netcdf.h @@ -1919,6 +1919,17 @@ ncrecput(int ncid, long recnum, void *const *datap); #define END_OF_MAIN() #endif +/* Define two hard-coded functionality-related + macros, but this is not going to be + standard practice. */ +#ifndef NC_HAVE_RENAME_GRP +#define NC_HAVE_RENAME_GRP /*!< rename_grp() support. */ +#endif + +#ifndef NC_HAVE_INQ_FORMAT_EXTENDED +#define NC_HAVE_INQ_FORMAT_EXTENDED /*!< inq_format_extended() support. */ +#endif + #define NC_HAVE_META_H #endif /* _NETCDF_ */ diff --git a/include/netcdf_meta.h.in b/include/netcdf_meta.h.in index e28a8b000..0901e9391 100644 --- a/include/netcdf_meta.h.in +++ b/include/netcdf_meta.h.in @@ -49,15 +49,6 @@ #define NC_HAS_PNETCDF @NC_HAS_PNETCDF@ /*!< pnetcdf support. */ #define NC_HAS_PARALLEL @NC_HAS_PARALLEL@ /*!< parallel IO support via hdf5. */ -/* Define two hard-coded functionality-related - macros, but this is not going to be - standard practice. */ -#ifndef NC_HAVE_RENAME_GRP -#define NC_HAVE_RENAME_GRP /*!< rename_grp() support. */ -#endif -#ifndef NC_HAVE_INQ_FORMAT_EXTENDED -#define NC_HAVE_INQ_FORMAT_EXTENDED /*!< inq_format_extended() support. */ -#endif #endif