Go to file
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
build_files Fix scons building in case git is not available. 2014-06-20 18:13:20 +02:00
doc BGE: New Property sensor evaluation types 2014-06-16 14:56:36 -07:00
extern Correction to GTest commit (WITH_GTEST=OFF works now) 2014-06-19 04:35:15 +10:00
intern Cycles: improved Beckmann sampling using precomputed data 2014-06-21 22:31:44 +02:00
release add brush icons from paint branch to make diff more manageable for arcanist 2014-06-22 17:48:08 +03:00
scons@1ec93106c4 Fix T40606: Blender 2.71RC1 for Windows uses too old blender.mo file in Japanese 2014-06-16 14:04:49 +06:00
source D605: Fixes for proper handling of wchar_t paths in MinGW. 2014-06-23 10:07:06 +09:00
tests GTest now works without buildinfo 2014-06-23 01:16:49 +10:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore .gitignore: Adding CMakeLists.txt.user for QtCreator users. 2014-01-26 17:52:14 -08:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt Some WITH_TESTS weer not renamed to WITH_GTEST 2014-06-18 22:28:27 +06:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Move tests into tests/ top-level dir 2014-06-18 22:03:46 +10:00
SConstruct Python: Remove deprecated uses of os.popen 2014-06-20 02:00:46 +10:00