source:
scripts/patches/patch.4.3.27.2
@
ad31873f
Last change on this file since ad31873f was 7f65c0e, checked in by , 18 years ago | |
---|---|
|
|
File size: 1.3 KB |
Line | |
---|---|
1 | *** build_win32/win_db.h 2004-12-23 13:59:15.000000000 +1100 |
2 | --- build_win32/win_db.h 2005-02-02 18:14:34.211471343 +1100 |
3 | *************** |
4 | *** 47,52 **** |
5 | --- 47,58 ---- |
6 | #define vsnprintf _vsnprintf |
7 | |
8 | /* |
9 | + * Windows defines off_t to long (i.e., 32 bits). |
10 | + */ |
11 | + #define off_t __db_off_t |
12 | + typedef __int64 off_t; |
13 | + |
14 | + /* |
15 | * Win32 does not define getopt and friends in any header file, so we must. |
16 | */ |
17 | #if defined(__cplusplus) |
18 | *** build_win64/win_db.h 2004-12-23 13:59:15.000000000 +1100 |
19 | --- build_win64/win_db.h 2005-02-02 18:14:34.216470661 +1100 |
20 | *************** |
21 | *** 47,52 **** |
22 | --- 47,58 ---- |
23 | #define vsnprintf _vsnprintf |
24 | |
25 | /* |
26 | + * Windows defines off_t to long (i.e., 32 bits). |
27 | + */ |
28 | + #define off_t __db_off_t |
29 | + typedef __int64 off_t; |
30 | + |
31 | + /* |
32 | * Win32 does not define getopt and friends in any header file, so we must. |
33 | */ |
34 | #if defined(__cplusplus) |
35 | *** dist/win_db.in 2004-10-08 04:41:35.000000000 +1000 |
36 | --- dist/win_db.in 2005-02-02 18:14:28.905194820 +1100 |
37 | *************** |
38 | *** 47,52 **** |
39 | --- 47,58 ---- |
40 | #define vsnprintf _vsnprintf |
41 | |
42 | /* |
43 | + * Windows defines off_t to long (i.e., 32 bits). |
44 | + */ |
45 | + #define off_t __db_off_t |
46 | + typedef __int64 off_t; |
47 | + |
48 | + /* |
49 | * Win32 does not define getopt and friends in any header file, so we must. |
50 | */ |
51 | #if defined(__cplusplus) |
Note: See TracBrowser
for help on using the repository browser.