summaryrefslogtreecommitdiffstats
path: root/test/unlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/unlink.c')
-rw-r--r--test/unlink.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unlink.c b/test/unlink.c
index a3ec4a2..c4e6d2c 100644
--- a/test/unlink.c
+++ b/test/unlink.c
@@ -18,6 +18,10 @@
#else
# define __unused__ __attribute__((unused))
#endif
+#if defined(WIN32)
+#undef __unused__
+#define __unused__
+#endif
#define FILE_NAME_1 "unlink.h5"
#define THE_OBJECT "/foo"