From 922e465b468ffc9a924fecaa3519b5e3e518b914 Mon Sep 17 00:00:00 2001 From: David Young Date: Mon, 6 Jul 2020 21:12:38 -0500 Subject: Provide an HDvasprintf implementation only if it isn't #defined. This should fix the mingw compilation issue that Allen reported. --- src/H5system.c | 2 ++ 1 file changed, 2 insertions(+) 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 /*------------------------------------------------------------------------- -- cgit v0.12