summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2001-07-07 05:46:21 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2001-07-07 05:46:21 (GMT)
commit9a2c38ed1fd9360dd32e8813617ea94c816527a3 (patch)
tree33c5f63f2408ade3cee75033731bf5b1fc54001c
parentf57b3a7945c77fa4bc6fd02e7c5f3ff1aec18a85 (diff)
downloadhdf5-9a2c38ed1fd9360dd32e8813617ea94c816527a3.zip
hdf5-9a2c38ed1fd9360dd32e8813617ea94c816527a3.tar.gz
hdf5-9a2c38ed1fd9360dd32e8813617ea94c816527a3.tar.bz2
[svn-r4143]
Purpose: code warrior port Description: added defines to avoid including the header sys/timeb.h Solution: Platforms tested: nt, linux:
-rw-r--r--test/iopipe.c12
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