1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Hopefully fix mingw32 bots.

For some reason this symbolic constant isn't defined in some versions of mingw32.

llvm-svn: 200605
This commit is contained in:
Peter Collingbourne 2014-02-01 02:42:20 +00:00
parent 0421c6aef8
commit 0c61826b4b

View File

@ -1069,7 +1069,7 @@ namespace path {
bool home_directory(SmallVectorImpl<char> &result) {
wchar_t Path[MAX_PATH];
if (::SHGetFolderPathW(0, CSIDL_APPDATA | CSIDL_FLAG_CREATE, 0,
SHGFP_TYPE_CURRENT, Path) != S_OK)
/*SHGFP_TYPE_CURRENT*/0, Path) != S_OK)
return false;
if (UTF16ToUTF8(Path, ::wcslen(Path), result))