mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[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.
This commit is contained in:
parent
1e69c2b1f1
commit
ae533db86d
@ -217,12 +217,12 @@ main (int argc, char *argv[])
|
|||||||
int dst_membno=0; /*destination member number */
|
int dst_membno=0; /*destination member number */
|
||||||
|
|
||||||
#if defined(WIN32) && ! defined (__MWERKS__)
|
#if defined(WIN32) && ! defined (__MWERKS__)
|
||||||
_int64 left_overs=0; /*amount of zeros left over */
|
__int64 left_overs=0; /*amount of zeros left over */
|
||||||
_int64 src_offset=0; /*offset in source member */
|
__int64 src_offset=0; /*offset in source member */
|
||||||
_int64 dst_offset=0; /*offset in destination member */
|
__int64 dst_offset=0; /*offset in destination member */
|
||||||
_int64 src_size; /*source logical member size */
|
__int64 src_size; /*source logical member size */
|
||||||
_int64 src_act_size; /*source actual member size */
|
__int64 src_act_size; /*source actual member size */
|
||||||
_int64 dst_size=1 GB; /*destination logical memb size */
|
__int64 dst_size=1 GB; /*destination logical memb size */
|
||||||
#else
|
#else
|
||||||
off_t left_overs=0; /*amount of zeros left over */
|
off_t left_overs=0; /*amount of zeros left over */
|
||||||
off_t src_offset=0; /*offset in source member */
|
off_t src_offset=0; /*offset in source member */
|
||||||
|
Loading…
Reference in New Issue
Block a user