summaryrefslogtreecommitdiffstats
path: root/src/H5Omtime.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-07 16:03:02 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-07 16:03:02 (GMT)
commit504bc34f6015d2c4df03b024c95cdbbab71cbd5f (patch)
treeacb62b5417ce2d5ef9f1209a5a7ac7945eea7e45 /src/H5Omtime.c
parent80737b93ef4425801da0f24b592e9b1bb3e3bca9 (diff)
downloadhdf5-504bc34f6015d2c4df03b024c95cdbbab71cbd5f.zip
hdf5-504bc34f6015d2c4df03b024c95cdbbab71cbd5f.tar.gz
hdf5-504bc34f6015d2c4df03b024c95cdbbab71cbd5f.tar.bz2
[svn-r3974] code warrior port
Diffstat (limited to 'src/H5Omtime.c')
-rw-r--r--src/H5Omtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c
index 12b5049..316ce38 100644
--- a/src/H5Omtime.c
+++ b/src/H5Omtime.c
@@ -13,7 +13,7 @@
#include "H5MMprivate.h"
#include "H5Oprivate.h"
-#if defined WIN32
+#if defined (WIN32) && !defined (__MWERKS__)
#include <sys/types.h>
#include <sys/timeb.h>
#endif
@@ -145,7 +145,7 @@ H5O_mtime_decode(H5F_t UNUSED *f, const uint8_t *p,
}
the_time -= tz.tz_minuteswest*60 - (tm.tm_isdst?3600:0);
}
-#elif defined WIN32
+#elif defined (WIN32) && !defined (__MWERKS__)
{
struct timeb timebuffer;