From 3a111372b17c31b452d89594b72a559a98c0ff07 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Tue, 9 Mar 1999 18:15:37 -0500 Subject: [svn-r1130] Make HDsnprintf to be compiled only if snprintf is not available in the local system. Tested in O2K. --- src/H5.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ /*------------------------------------------------------------------------- -- cgit v0.12