summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2014-05-29 21:26:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2014-05-29 21:26:28 (GMT)
commitb0fe30721b1ece1721a99c9151c4685901c05d20 (patch)
treee8d748d7836fda7a0df38d3baf7de7417040ba7f /src/H5private.h
parent5278b9737dad788a99cd44186b309e402c311139 (diff)
downloadhdf5-b0fe30721b1ece1721a99c9151c4685901c05d20.zip
hdf5-b0fe30721b1ece1721a99c9151c4685901c05d20.tar.gz
hdf5-b0fe30721b1ece1721a99c9151c4685901c05d20.tar.bz2
[svn-r25225] Description:
Bring r25215 from trunk to 1.8 branch: Bring changes from Coverity branch back to trunk: r20914: Use HDstrncpy and HDstrncat! --gh r20915: Use HDstrncpy and HDstrncat! --gh Tested on: MacOSX/64 10.9.3 (amazon) w/gcc 4.9, FORTRAN, C++, multi-threads & parallel (h5committested on the trunk)
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 18a0fc0..3f0fccf 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -540,6 +540,9 @@ typedef struct {
#ifndef HDasin
#define HDasin(X) asin(X)
#endif /* HDasin */
+#ifndef HDasprintf
+ #define HDasprintf asprintf /*varargs*/
+#endif /* HDasprintf */
#ifndef HDassert
#define HDassert(X) assert(X)
#endif /* HDassert */