summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Omtime.c4
-rw-r--r--src/H5Zprivate.h4
-rw-r--r--src/H5private.h8
3 files changed, 12 insertions, 4 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c
index c8fcf5a..e31dece 100644
--- a/src/H5Omtime.c
+++ b/src/H5Omtime.c
@@ -149,8 +149,8 @@ H5O_mtime_decode(H5F_t UNUSED *f, const uint8_t *p,
tz = timebuffer.timezone;
/* daylight is not handled properly. Currently we just hard-code
the problem. */
- /*the_time -= tz*60;*/
- the_time -= tz * 60 - 3600 * _daylight;
+ the_time -= tz*60;
+/* the_time -= tz * 60 - 3600 * _daylight;*/
}
#else
/*
diff --git a/src/H5Zprivate.h b/src/H5Zprivate.h
index 388f204..5f05dc8 100644
--- a/src/H5Zprivate.h
+++ b/src/H5Zprivate.h
@@ -45,11 +45,11 @@ H5_DLL H5Z_class_t *H5Z_find(H5Z_filter_t id);
/* Filter routines */
-size_t H5Z_filter_deflate(unsigned flags, size_t cd_nelmts,
+H5_DLL size_t H5Z_filter_deflate(unsigned flags, size_t cd_nelmts,
const unsigned cd_values[], size_t nbytes,
size_t *buf_size, void **buf);
-size_t H5Z_filter_shuffle(unsigned flags, size_t cd_nelmts,
+H5_DLL size_t H5Z_filter_shuffle(unsigned flags, size_t cd_nelmts,
const unsigned cd_values[], size_t nbytes,
size_t *buf_size, void **buf);
#endif
diff --git a/src/H5private.h b/src/H5private.h
index 1cd39c3..e4ba48b 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -622,7 +622,15 @@ typedef struct stat h5_stat_t;
#define HDlog(X) log(X)
#define HDlog10(X) log10(X)
#define HDlongjmp(J,N) longjmp(J,N)
+#ifdef WIN32
+ #ifdef __MWERKS__
+ #define HDlseek(F,O,W) lseek(F,O,W)
+ #else /*MSVS */
+ #define HDlseek(F,O,W) _lseeki64(F,O,W)
+ #endif
+#else
#define HDlseek(F,O,W) lseek(F,O,W)
+#endif
#define HDmalloc(Z) malloc(Z)
#define HDmblen(S,N) mblen(S,N)
#define HDmbstowcs(P,S,Z) mbstowcs(P,S,Z)