diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1998-10-23 18:16:48 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1998-10-23 18:16:48 (GMT) |
commit | 3a7c54b06f37b0648e1d8f337d11a1f13b67d60c (patch) | |
tree | 7d5dc6b2904a184459367a71a2f45817309ff38f /test/dtypes.c | |
parent | 9bba487ca4dc89140684da78cd541aba4403df53 (diff) | |
download | hdf5-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/dtypes.c')
-rw-r--r-- | test/dtypes.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/dtypes.c b/test/dtypes.c index 6949250..f35b3da 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -15,8 +15,11 @@ #include <stdio.h> #include <stdlib.h> #include <sys/types.h> +#if !defined (WIN32) #include <sys/wait.h> #include <unistd.h> +#endif + #define H5T_PACKAGE #include <H5Tpkg.h> /*to turn off hardware conversions*/ @@ -29,6 +32,10 @@ #else # define __unused__ __attribute__((unused)) #endif +#if defined(WIN32) +#undef __unused__ +#define __unused__ +#endif #if SIZEOF_DOUBLE != SIZEOF_LONG_DOUBLE # define USE_LDOUBLE |