diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-03-16 17:58:49 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-03-16 17:59:20 (GMT) |
commit | 24b11709aff9e88de172342faed165ec08985e42 (patch) | |
tree | dd8f8bafddad77819df352d970e6a4f3ffe521ce /src/H5private.h | |
parent | 368089572a079f0801ab7177aab2719d4cbd4e48 (diff) | |
download | hdf5-24b11709aff9e88de172342faed165ec08985e42.zip hdf5-24b11709aff9e88de172342faed165ec08985e42.tar.gz hdf5-24b11709aff9e88de172342faed165ec08985e42.tar.bz2 |
Update cmake pubconf to match autotools and add strtoll checks
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index 00de96c..61ecc5b 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1386,7 +1386,13 @@ typedef off_t h5_stat_size_t; #ifndef HDstrtol #define HDstrtol(S,R,N) strtol(S,R,N) #endif /* HDstrtol */ -H5_DLL int64_t HDstrtoll (const char *s, const char **rest, int base); +#ifndef HDstrtoll + #ifdef H5_HAVE_STRTOLL + #define HDstrtoll(S,R,N) strtoll(S,R,N) + #else + H5_DLL int64_t HDstrtoll (const char *s, const char **rest, int base); + #endif /* H5_HAVE_STRTOLL */ +#endif /* HDstrtoll */ #ifndef HDstrtoul #define HDstrtoul(S,R,N) strtoul(S,R,N) #endif /* HDstrtoul */ |