Blender Git Commit Log

Git Commits -> Revision 9a116c7

Revision 9a116c7 by Ray molenkamp (master)
March 18, 2020, 18:13 (GMT)
Cleanup: 64 bit file IO on windows.

Unlike Linux where fseek/tell will be either 32 or 64 bit
depending on the target platform, it will always be 32 bit
on windows.

We had some macro magic in BLI_winstuff.h that substituted
them for 64 bit versions, but that is upsetting the system
headers if they get included after BLI_winstuff.h which
is problematic for D6811.

This diff adds proper functions in blenlib and updates
all calls that were using the BLI_winstuff.h header to
gain 64 bit file IO.

note: Anything that was using the 32 bit versions (ie not
including BLI_winstuff.h) will still be using the 32 bit
versions, which is perhaps a good code quality Friday project.

Differential Revision: https://developer.blender.org/D7160

Reviewers: brecht dfelinto

Commit Details:

Full Hash: 9a116c7c2d957e0e10a926eccc38dcb28cfec6e4
Parent Commit: ac74a84
Lines Changed: +101, -76

9 Modified Paths:

/source/blender/blenkernel/intern/pointcache.c (+1, -1) (Diff)
/source/blender/blenlib/BLI_fileops.h (+4, -0) (Diff)
/source/blender/blenlib/BLI_winstuff.h (+0, -7) (Diff)
/source/blender/blenlib/intern/storage.c (+33, -6) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -2) (Diff)
/source/blender/io/avi/intern/avi.c (+46, -46) (Diff)
/source/blender/io/avi/intern/avi_options.c (+6, -5) (Diff)
/source/blender/modifiers/intern/MOD_meshcache_mdd.c (+5, -5) (Diff)
/source/blender/modifiers/intern/MOD_meshcache_pc2.c (+4, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021