diff options
Diffstat (limited to 'test/fillval.c')
-rw-r--r-- | test/fillval.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/fillval.c b/test/fillval.c index e4d66a9..23673fc 100644 --- a/test/fillval.c +++ b/test/fillval.c @@ -10,8 +10,9 @@ #include <fcntl.h> #include <hdf5.h> #include <stdlib.h> +#if !defined(WIN32) #include <unistd.h> - +#endif /* * Define NO_FILLING if you want to compare how this test works when there is * no fill value (that is, when the fill value is zero). @@ -35,7 +36,10 @@ #else # define __unused__ __attribute__((unused)) #endif - +#if defined(WIN32) +#undef __unused__ +#define __unused__ +#endif /*------------------------------------------------------------------------- * Function: cleanup |