summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5system.c2
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
/*-------------------------------------------------------------------------