diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-28 20:03:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 20:03:45 (GMT) |
commit | 605cea4af60cfcbe03a54f697de392eec75e5a85 (patch) | |
tree | 20b6c58c39883d0ab983f99685d5de05b5cbe753 /test/vfd.c | |
parent | 96d89bcae7b47402b97e87787a007d558ddcb66b (diff) | |
download | hdf5-605cea4af60cfcbe03a54f697de392eec75e5a85.zip hdf5-605cea4af60cfcbe03a54f697de392eec75e5a85.tar.gz hdf5-605cea4af60cfcbe03a54f697de392eec75e5a85.tar.bz2 |
Remove HD from HDposix_memalign() (#3196)
The posix_memalign call is only used in the direct VFD, which can only
be built if posix_memalign() is available.
Diffstat (limited to 'test/vfd.c')
-rw-r--r-- | test/vfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -788,10 +788,10 @@ test_direct(void) /* Allocate aligned memory for data set 1. For data set 1, everything is aligned including * memory address, size of data, and file address. */ - if (0 != HDposix_memalign(&proto_points, (size_t)FBSIZE, (size_t)(DSET1_DIM1 * DSET1_DIM2 * sizeof(int)))) + if (0 != posix_memalign(&proto_points, (size_t)FBSIZE, (size_t)(DSET1_DIM1 * DSET1_DIM2 * sizeof(int)))) TEST_ERROR; points = proto_points; - if (0 != HDposix_memalign(&proto_check, (size_t)FBSIZE, (size_t)(DSET1_DIM1 * DSET1_DIM2 * sizeof(int)))) + if (0 != posix_memalign(&proto_check, (size_t)FBSIZE, (size_t)(DSET1_DIM1 * DSET1_DIM2 * sizeof(int)))) TEST_ERROR; check = proto_check; |