diff --git a/include/netcdf_meta.h.in b/include/netcdf_meta.h.in index 50a5d21b9..de44e7286 100644 --- a/include/netcdf_meta.h.in +++ b/include/netcdf_meta.h.in @@ -56,7 +56,7 @@ #define NC_HAS_CDF5 @NC_HAS_CDF5@ /*!< CDF5 support. */ #define NC_HAS_ERANGE_FILL @NC_HAS_ERANGE_FILL@ /*!< ERANGE_FILL Support */ -#define NC_RELAX_COORD_BOUND @NC_RELAX_COORD_BOUND@ /*!< RELAX_COORD_BOUND */ +#define NC_RELAX_COORD_BOUND 1 /*!< RELAX_COORD_BOUND */ #define NC_DISPATCH_VERSION @NC_DISPATCH_VERSION@ /*!< Dispatch table version */ #endif diff --git a/nc_test/test_get.m4 b/nc_test/test_get.m4 index baa729098..19d9e043c 100644 --- a/nc_test/test_get.m4 +++ b/nc_test/test_get.m4 @@ -751,13 +751,8 @@ ifdef(`PNETCDF',`dnl start[j] = 0; continue; } -#ifdef RELAX_COORD_BOUND IF (err != NC_NOERR) /* allowed when edge[j]==0 */ EXPECT_ERR(NC_NOERR, err) -#else - IF (err != NC_EINVALCOORDS) /* not allowed even when edge[j]==0 */ - EXPECT_ERR(NC_EINVALCOORDS, err) -#endif start[j] = var_shape[i][j]+1; /* should cause NC_EINVALCOORDS */ err = GetVars($1)(ncid, i, start, edge, stride, value); IF (err != NC_EINVALCOORDS) @@ -1049,13 +1044,8 @@ ifdef(`PNETCDF',`dnl start[j] = 0; continue; } -#ifdef RELAX_COORD_BOUND IF (err != NC_NOERR) /* allowed when edge[j]==0 */ EXPECT_ERR(NC_NOERR, err) -#else - IF (err != NC_EINVALCOORDS) /* not allowed even when edge[j]==0 */ - EXPECT_ERR(NC_EINVALCOORDS, err) -#endif start[j] = var_shape[i][j]+1; /* should cause NC_EINVALCOORDS */ err = GetVarm($1)(ncid, i, start, edge, stride, imap, value); IF (err != NC_EINVALCOORDS)