summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-04-14 22:57:58 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-04-14 22:57:58 (GMT)
commit2bc3f7ea10b2aec395b2c74bdb912d9374560bc3 (patch)
treef32c7e7fd19812d7c6a17c7a1e9793b413c1d6ce /src/H5private.h
parent802ed1f1a46fd7bf22332d6e0f19ba94c93eb82b (diff)
downloadhdf5-2bc3f7ea10b2aec395b2c74bdb912d9374560bc3.zip
hdf5-2bc3f7ea10b2aec395b2c74bdb912d9374560bc3.tar.gz
hdf5-2bc3f7ea10b2aec395b2c74bdb912d9374560bc3.tar.bz2
[svn-r29700] Merge of r29030, 29034, and 29035 from trunk
Cleanup of test/externals before merging HDFFV-8740 changes. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial autotools w/ C++ & Fortran serial CMake parallel autotools w/ Fortran (MPICH 3.1.4)
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 161f35a..c046fad 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -1182,7 +1182,9 @@ typedef off_t h5_stat_size_t;
#ifndef HDsnprintf
#define HDsnprintf snprintf /*varargs*/
#endif /* HDsnprintf */
-/* sprintf() variable arguments */
+#ifndef HDsprintf
+ #define HDsprintf sprintf /*varargs*/
+#endif /* HDsprintf */
#ifndef HDsqrt
#define HDsqrt(X) sqrt(X)
#endif /* HDsqrt */