summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5.c b/src/H5.c
index 84b8e05..5df4d4a 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -448,6 +448,7 @@ H5close (void)
}
+#ifndef HAVE_SNPRINTF
/*-------------------------------------------------------------------------
* Function: HDsnprintf
*
@@ -487,6 +488,7 @@ HDsnprintf(char *buf, size_t __unused__ size, const char *fmt, ...)
va_end(ap);
return n;
}
+#endif /* HAVE_SNPRINTF */
/*-------------------------------------------------------------------------