summaryrefslogtreecommitdiffstats
path: root/test/fillval.c
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1998-10-23 18:16:48 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1998-10-23 18:16:48 (GMT)
commit3a7c54b06f37b0648e1d8f337d11a1f13b67d60c (patch)
tree7d5dc6b2904a184459367a71a2f45817309ff38f /test/fillval.c
parent9bba487ca4dc89140684da78cd541aba4403df53 (diff)
downloadhdf5-3a7c54b06f37b0648e1d8f337d11a1f13b67d60c.zip
hdf5-3a7c54b06f37b0648e1d8f337d11a1f13b67d60c.tar.gz
hdf5-3a7c54b06f37b0648e1d8f337d11a1f13b67d60c.tar.bz2
[svn-r781] Windows NT port-tested on Unix and NT
changes: defined __unused__ as nothing, other little changes. all changes are surrounded by #if defined(WIN32)
Diffstat (limited to 'test/fillval.c')
-rw-r--r--test/fillval.c8
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