diff options
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index f4db86b..dadb87e 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -662,7 +662,11 @@ __DLL__ int HDfprintf (FILE *stream, const char *fmt, ...); #define HDsinh(X) sinh(X) #define HDsleep(N) sleep(N) #ifdef H5_HAVE_SNPRINTF +#ifdef __WATCOMC__ +# define HDsnprintf _snprintf /*varargs*/ +#else /* __WATCOMC__ */ # define HDsnprintf snprintf /*varargs*/ +#endif /* __WATCOMC__ */ #endif /* sprintf() variable arguments */ #define HDsqrt(X) sqrt(X) |