diff options
author | Albert Cheng <acheng@hdfgroup.org> | 1999-03-09 23:15:37 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 1999-03-09 23:15:37 (GMT) |
commit | 3a111372b17c31b452d89594b72a559a98c0ff07 (patch) | |
tree | 179478c0c96d4573ebd7eb8c74161e5e5ce7780d | |
parent | cee43a0f303bb7c561604dc5fd0010315fd1e635 (diff) | |
download | hdf5-3a111372b17c31b452d89594b72a559a98c0ff07.zip hdf5-3a111372b17c31b452d89594b72a559a98c0ff07.tar.gz hdf5-3a111372b17c31b452d89594b72a559a98c0ff07.tar.bz2 |
[svn-r1130] Make HDsnprintf to be compiled only if snprintf is not available
in the local system.
Tested in O2K.
-rw-r--r-- | src/H5.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ /*------------------------------------------------------------------------- |