From b43d115fe966cfbb21eb6d49d3c4bac76b137a81 Mon Sep 17 00:00:00 2001 From: Binh-Minh Date: Thu, 11 Jul 2024 12:10:40 -0400 Subject: [PATCH] Added missing #define lines --- tools/lib/h5tools.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h index 129afa1e59e..ad62ebdd81e 100644 --- a/tools/lib/h5tools.h +++ b/tools/lib/h5tools.h @@ -21,6 +21,9 @@ #if defined(H5_HAVE_ATTRIBUTE) && !defined(__SUNPRO_C) #define H5_ATTR_FORMAT(X, Y, Z) __attribute__((format(X, Y, Z))) #define H5_ATTR_UNUSED __attribute__((unused)) +#else +# define H5_ATTR_FORMAT(X, Y, Z) /*void*/ +# define H5_ATTR_UNUSED /*void*/ #endif #include "h5tools_error.h"