mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-06 14:56:51 +08:00
[svn-r1130] Make HDsnprintf to be compiled only if snprintf is not available
in the local system. Tested in O2K.
This commit is contained in:
parent
cee43a0f30
commit
3a111372b1
2
src/H5.c
2
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 */
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user