diff options
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index 6ccb14a..899cf87 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -914,10 +914,20 @@ extern char *strdup(const char *s); #ifndef H5_HAVE_SNPRINTF + H5_DLL int HDsnprintf(char *buf, size_t size, const char *fmt, ...); +#ifdef WIN32 +#define HDsnprintf _snprintf /*varargs*/ +#endif + #endif + #ifndef H5_HAVE_VSNPRINTF H5_DLL int HDvsnprintf(char *buf, size_t size, const char *fmt, va_list ap); +#ifdef WIN32 +#define HDvsnprintf _vsnprintf /*varargs*/ +#endif + #endif /* |