diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-08-22 20:58:58 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-08-22 20:58:58 (GMT) |
commit | 827ba4f4e8d89bf8202035fadd015f3260cf236b (patch) | |
tree | 7a01aca0085d6c38810bb996de05f415ee6ee9be /src | |
parent | 16dd775f8fd536816d0565a8f180105147717b22 (diff) | |
download | hdf5-827ba4f4e8d89bf8202035fadd015f3260cf236b.zip hdf5-827ba4f4e8d89bf8202035fadd015f3260cf236b.tar.gz hdf5-827ba4f4e8d89bf8202035fadd015f3260cf236b.tar.bz2 |
[svn-r11289] Purpose:
cleanup
Description:
Changed the conditional definitions of HDvsnrintf and HDsnprint be
dependent on TFLOPS being defined so that these are consistent with
the condition in H5.c in which the two functions are coded.
Platforms tested:
heping.
Misc. update:
Diffstat (limited to 'src')
-rw-r--r-- | src/H5private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index 7bb732c..22ad61f 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -921,6 +921,8 @@ extern char *strdup(const char *s); #endif /* WIN32 */ +/* Define our own HDsnprintf only for TFLOPS. */ +#ifdef __PUMAGON__ #ifndef H5_HAVE_SNPRINTF H5_DLL int HDsnprintf(char *buf, size_t size, const char *fmt, ...); #endif @@ -928,6 +930,7 @@ H5_DLL int HDsnprintf(char *buf, size_t size, const char *fmt, ...); #ifndef H5_HAVE_VSNPRINTF H5_DLL int HDvsnprintf(char *buf, size_t size, const char *fmt, va_list ap); #endif +#endif /* * These macros check whether debugging has been requested for a certain |