Line 0
Link Here
|
|
|
1 |
--- src/hdf5_drv/H5FDsilo.c.orig 2014-10-14 00:22:32 UTC |
2 |
+++ src/hdf5_drv/H5FDsilo.c |
3 |
@@ -160,27 +160,15 @@ product endorsement purposes. |
4 |
* xxx64 versions if available. |
5 |
*/ |
6 |
#if !defined(HDfstat) || !defined(HDstat) |
7 |
- #if H5_SIZEOF_OFF_T!=8 && H5_SIZEOF_OFF64_T==8 && defined(H5_HAVE_STAT64) |
8 |
- #ifndef HDfstat |
9 |
- #define HDfstat(F,B) fstat64(F,B) |
10 |
- #endif /* HDfstat */ |
11 |
- #ifndef HDstat |
12 |
- #define HDstat(S,B) stat64(S,B) |
13 |
- #endif /* HDstat */ |
14 |
- typedef struct stat64 h5_stat_t; |
15 |
- typedef off64_t h5_stat_size_t; |
16 |
- #define H5_SIZEOF_H5_STAT_SIZE_T H5_SIZEOF_OFF64_T |
17 |
- #else /* H5_SIZEOF_OFF_T!=8 && ... */ |
18 |
- #ifndef HDfstat |
19 |
- #define HDfstat(F,B) fstat(F,B) |
20 |
- #endif /* HDfstat */ |
21 |
- #ifndef HDstat |
22 |
- #define HDstat(S,B) stat(S,B) |
23 |
- #endif /* HDstat */ |
24 |
- typedef struct stat h5_stat_t; |
25 |
- typedef off_t h5_stat_size_t; |
26 |
- #define H5_SIZEOF_H5_STAT_SIZE_T H5_SIZEOF_OFF_T |
27 |
- #endif /* H5_SIZEOF_OFF_T!=8 && ... */ |
28 |
+ #ifndef HDfstat |
29 |
+ #define HDfstat(F,B) fstat(F,B) |
30 |
+ #endif /* HDfstat */ |
31 |
+ #ifndef HDstat |
32 |
+ #define HDstat(S,B) stat(S,B) |
33 |
+ #endif /* HDstat */ |
34 |
+ typedef struct stat h5_stat_t; |
35 |
+ typedef off_t h5_stat_size_t; |
36 |
+ #define H5_SIZEOF_H5_STAT_SIZE_T H5_SIZEOF_OFF_T |
37 |
#endif /* !defined(HDfstat) || !defined(HDstat) */ |
38 |
#ifndef HDlseek |
39 |
#ifdef H5_HAVE_LSEEK64 |