summaryrefslogtreecommitdiffstats
path: root/test/shtype.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/shtype.c')
-rw-r--r--test/shtype.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/shtype.c b/test/shtype.c
index c86998d..80eccc0 100644
--- a/test/shtype.c
+++ b/test/shtype.c
@@ -20,6 +20,11 @@
# define __unused__ __attribute__((unused))
#endif
+#if defined(WIN32)
+#undef __unused__
+#define __unused__
+#endif
+
#define TEST_FILE_NAME0 "shtype0.h5"
#define TEST_FILE_NAME1 "shtype1.h5"
#define TEST_FILE_NAME2A "shtype2a.h5"