Last change
on this file since 1167 was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
841 bytes
|
Line | |
---|
1 | #ifndef _OFF_T_DEFINED
|
---|
2 | #define _OFF_T_DEFINED
|
---|
3 | #ifndef _OFF_T_
|
---|
4 | #define _OFF_T_
|
---|
5 | typedef long _off_t;
|
---|
6 | #if !defined(NO_OLDNAMES) || defined(_POSIX)
|
---|
7 | typedef long off32_t;
|
---|
8 | #endif
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #ifndef _OFF64_T_DEFINED
|
---|
12 | #define _OFF64_T_DEFINED
|
---|
13 | __MINGW_EXTENSION typedef long long _off64_t;
|
---|
14 | #if !defined(NO_OLDNAMES) || defined(_POSIX)
|
---|
15 | __MINGW_EXTENSION typedef long long off64_t;
|
---|
16 | #endif
|
---|
17 | #endif /*_OFF64_T_DEFINED */
|
---|
18 |
|
---|
19 |
|
---|
20 | #ifndef _FILE_OFFSET_BITS_SET_OFFT
|
---|
21 | #define _FILE_OFFSET_BITS_SET_OFFT
|
---|
22 | #if !defined(NO_OLDNAMES) || defined(_POSIX)
|
---|
23 | #if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64))
|
---|
24 | typedef off64_t off_t;
|
---|
25 | #else
|
---|
26 | typedef off32_t off_t;
|
---|
27 | #endif /* #if !defined(NO_OLDNAMES) || defined(_POSIX) */
|
---|
28 | #endif /* (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) */
|
---|
29 | #endif /* _FILE_OFFSET_BITS_SET_OFFT */
|
---|
30 |
|
---|
31 |
|
---|
32 | #endif /* _OFF_T_DEFINED */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.