This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/blenlib/intern
Tamito Kajiyama 77f357728f D605: Fixes for proper handling of wchar_t paths in MinGW.
* Fixed different not-in-sync #ifdef blocks for struct stat variants under Windows.

Comments have been left to indicate the portions of BLI_fileops.h and
BLI_fileops_types.h that need to stay in sync.

* Added BLI_wstat() to de-duplicate #ifdef blocks for stat() variants on Windows.

* Fix for opendir() and associate functions in MinGW not working properly with
non-ASCII, MBCS-compatible paths.

MinGW (FREE_WINDOWS) has opendir() and _wopendir(), and only the
latter accepts a path name of wchar_t type. Rather than messing up with
extra #ifdef's here and there, Blender's own implementations of opendir()
and related functions are used to properly support paths with non-ASCII,
MBCS-compatible characters.

Tested with MSVC 2013 Express, MinGW32 (gcc 4.6.2) and MinGW-w64 (gcc 4.7.1).


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

Reviewed By: campbellbarton
2014-06-23 10:07:06 +09:00
..
2014-06-14 00:47:11 +10:00
2012-05-12 15:13:06 +00:00
2014-05-27 14:42:22 +10:00
2014-05-19 00:00:59 +10:00
2014-06-17 02:08:10 +10:00
2014-03-20 22:56:28 +11:00
2014-06-14 18:12:19 +10:00
2014-04-11 11:33:29 +10:00
2014-01-21 12:05:27 +11:00
2012-08-06 13:31:28 +00:00
2014-05-14 15:00:47 +10:00
2012-10-27 10:42:28 +00:00