diff options
-rw-r--r-- | test/iopipe.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/iopipe.c b/test/iopipe.c index fc50012..5351438 100644 --- a/test/iopipe.c +++ b/test/iopipe.c @@ -11,6 +11,16 @@ #include "hdf5.h" #include "H5private.h" +#if defined (__MWERKS__) +#ifdef H5_HAVE_SYS_TIMEB +#undef H5_HAVE_SYS_TIMEB +#endif +#ifdef H5_HAVE_SYSTEM +#undef H5_HAVE_SYSTEM +#endif +#endif /* __MWERKS__*/ + + #ifdef H5_STDC_HEADERS # include <assert.h> # include <fcntl.h> @@ -41,6 +51,8 @@ # include <Winsock.h> #endif + + #ifdef H5_HAVE_SYS_TIMEB # include <sys/timeb.h> #endif |