summaryrefslogtreecommitdiffstats
path: root/tools/misc
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2007-05-16 19:25:59 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2007-05-16 19:25:59 (GMT)
commitae533db86d5dfb7d4f5b8d62a31d01decbc416ed (patch)
treea6f8299bd6523a92ab961d980b2ee1b2f31f1186 /tools/misc
parent1e69c2b1f122bda266c0f93bda0216e06fbcd5e9 (diff)
downloadhdf5-ae533db86d5dfb7d4f5b8d62a31d01decbc416ed.zip
hdf5-ae533db86d5dfb7d4f5b8d62a31d01decbc416ed.tar.gz
hdf5-ae533db86d5dfb7d4f5b8d62a31d01decbc416ed.tar.bz2
[svn-r13760] This will only affect windows platform,
change _int64 to __int64 within windows macro. Windows can tolerant _int64 but mingw cannot. So we need to use __int64 to make HDF work on Mingw. Compiled at linux and Mingw.
Diffstat (limited to 'tools/misc')
-rw-r--r--tools/misc/h5repart.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/misc/h5repart.c b/tools/misc/h5repart.c
index e7729bd..e9406e2 100644
--- a/tools/misc/h5repart.c
+++ b/tools/misc/h5repart.c
@@ -217,12 +217,12 @@ main (int argc, char *argv[])
int dst_membno=0; /*destination member number */
#if defined(WIN32) && ! defined (__MWERKS__)
- _int64 left_overs=0; /*amount of zeros left over */
- _int64 src_offset=0; /*offset in source member */
- _int64 dst_offset=0; /*offset in destination member */
- _int64 src_size; /*source logical member size */
- _int64 src_act_size; /*source actual member size */
- _int64 dst_size=1 GB; /*destination logical memb size */
+ __int64 left_overs=0; /*amount of zeros left over */
+ __int64 src_offset=0; /*offset in source member */
+ __int64 dst_offset=0; /*offset in destination member */
+ __int64 src_size; /*source logical member size */
+ __int64 src_act_size; /*source actual member size */
+ __int64 dst_size=1 GB; /*destination logical memb size */
#else
off_t left_overs=0; /*amount of zeros left over */
off_t src_offset=0; /*offset in source member */