diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-01-29 21:57:32 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-01-29 21:57:32 (GMT) |
commit | eb6e5949c7cfd185ca073117b7a04e56f1d14a70 (patch) | |
tree | 5152bccea3e3c80d5855c7f1c935bc1988679189 /src/H5VLiod_common.c | |
parent | 27f42f93dbf61accb226f13e40561fdc250af8bb (diff) | |
download | hdf5-eb6e5949c7cfd185ca073117b7a04e56f1d14a70.zip hdf5-eb6e5949c7cfd185ca073117b7a04e56f1d14a70.tar.gz hdf5-eb6e5949c7cfd185ca073117b7a04e56f1d14a70.tar.bz2 |
[svn-r24661] add ifdefs around mchecksum header and usage.
Diffstat (limited to 'src/H5VLiod_common.c')
-rw-r--r-- | src/H5VLiod_common.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/H5VLiod_common.c b/src/H5VLiod_common.c index 38e60fc..c22be61 100644 --- a/src/H5VLiod_common.c +++ b/src/H5VLiod_common.c @@ -12,8 +12,10 @@ #include <string.h> #include <unistd.h> #include <assert.h> -#include <mchecksum.h> /* Mercury Checksum library */ #include "H5VLiod_common.h" +#ifdef H5_HAVE_EFF +#include <mchecksum.h> /* Mercury Checksum library */ +#endif /* H5_HAVE_EFF */ /* * Local typedefs @@ -925,6 +927,8 @@ H5VL_iod_free_list_free(void **free_list, size_t free_list_len) free(free_list); } /* end H5VL_iod_free_list_free() */ +#ifdef H5_HAVE_EFF + uint64_t H5_checksum_crc64(const void *buf, size_t buf_size) { @@ -1014,3 +1018,4 @@ H5_checksum_crc64_fragments(void **buf, size_t *buf_size, size_t count) return ret_value; } +#endif /* H5_HAVE_EFF */ |