summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5private.h3
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