Commit da47062
committed
Fix regressions: build with VS2005 / older SDKs
dispserv_win32.c: provide QDC_DATABASE_CURRENT fallback for SDKs
predating the Win7 CCD APIs. The runtime symbols are loaded via
GetProcAddress when HAVE_DYLIB is set, so only the constant is missing.
vfs_implementation.c: in retro_vfs_stat_impl LEGACY_WIN32 branch, call
_stat64 explicitly instead of the bare _stat macro. The macro expands
to _stat64i32 on VS2005+, mismatching the declared 'struct _stat64'
buffer and silently truncating st_size for files >= 2 GiB. Falls back
to _stati64 on VC6.1 parent 8a2d293 commit da47062
2 files changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
32 | 42 | | |
33 | 43 | | |
34 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1136 | 1136 | | |
1137 | 1137 | | |
1138 | 1138 | | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
1139 | 1147 | | |
1140 | | - | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
1141 | 1153 | | |
1142 | 1154 | | |
1143 | 1155 | | |
| |||
0 commit comments