diff options
author | David Young <dyoung@hdfgroup.org> | 2020-07-07 02:12:38 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-07-07 15:49:55 (GMT) |
commit | 922e465b468ffc9a924fecaa3519b5e3e518b914 (patch) | |
tree | da32ae03362a5c30fe6b71b68758a5eda40a4c49 /src | |
parent | 62dbb80cb6aa770bba771f57cea4643217b509d3 (diff) | |
download | hdf5-922e465b468ffc9a924fecaa3519b5e3e518b914.zip hdf5-922e465b468ffc9a924fecaa3519b5e3e518b914.tar.gz hdf5-922e465b468ffc9a924fecaa3519b5e3e518b914.tar.bz2 |
Provide an HDvasprintf implementation only if it isn't #defined. This should
fix the mingw compilation issue that Allen reported.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5system.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5system.c b/src/H5system.c index 6722488..310eb11 100644 --- a/src/H5system.c +++ b/src/H5system.c @@ -73,6 +73,7 @@ /* Track whether tzset routine was called */ static hbool_t H5_ntzset = FALSE; +#ifndef HDvasprintf /* HDvasprintf provides vasprintf-like function on targets where it is * unavailable. */ @@ -100,6 +101,7 @@ HDvasprintf(char **bufp, const char *fmt, va_list _ap) } return -1; } +#endif /*------------------------------------------------------------------------- |