diff options
Diffstat (limited to 'hl')
-rw-r--r-- | hl/src/H5PT.c | 5 | ||||
-rw-r--r-- | hl/test/test_packet.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/hl/src/H5PT.c b/hl/src/H5PT.c index d1bb1fc..cf400a1 100644 --- a/hl/src/H5PT.c +++ b/hl/src/H5PT.c @@ -148,6 +148,7 @@ hid_t H5PTcreate_fl ( hid_t loc_id, return H5I_INVALID_HID; } +#ifdef H5_VLPT_ENABLED /*------------------------------------------------------------------------- * Function: H5PTcreate_vl * @@ -195,6 +196,7 @@ out: H5PTclose(ret_value); return H5I_BADID; } +#endif /* H%_VLPT_ENABLED */ /*------------------------------------------------------------------------- * Function: H5PTopen @@ -713,6 +715,7 @@ herr_t H5PTis_valid(hid_t table_id) return 0; } +#ifdef H5_VLPT_ENABLED /*------------------------------------------------------------------------- * Function: H5PTis_varlen * @@ -815,3 +818,5 @@ out: H5E_END_TRY return -1; } + +#endif /* H5_VLPT_ENABLED */ diff --git a/hl/test/test_packet.c b/hl/test/test_packet.c index 3445163..4268a08 100644 --- a/hl/test/test_packet.c +++ b/hl/test/test_packet.c @@ -63,6 +63,8 @@ static particle_t testPart[NRECORDS] = { /*------------------------------------------------------------------------- * function that compares one particle + * Comparing floating point should be safe here; HDF5 should store the + * fields verbatim and not lose any bits. -JML *------------------------------------------------------------------------- */ static int cmp_par(size_t i, size_t j, particle_t *rbuf, particle_t *wbuf ) |