diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2014-02-01 02:42:20 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2014-02-01 02:42:20 +0000 |
commit | ad141abd634bc23e3a74ab3bbb6ca2622a05195d (patch) | |
tree | ce146d340a9e13a3d58d4700f1802cc6297a4f63 /llvm/lib/Support/Windows/Path.inc | |
parent | d9a0f254bcd7e550bd504358fcda7a8e5b9906b3 (diff) | |
download | bcm5719-llvm-ad141abd634bc23e3a74ab3bbb6ca2622a05195d.tar.gz bcm5719-llvm-ad141abd634bc23e3a74ab3bbb6ca2622a05195d.zip |
Hopefully fix mingw32 bots.
For some reason this symbolic constant isn't defined in some versions of mingw32.
llvm-svn: 200605
Diffstat (limited to 'llvm/lib/Support/Windows/Path.inc')
-rw-r--r-- | llvm/lib/Support/Windows/Path.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc index e218fa2e726..5a41e49e256 100644 --- a/llvm/lib/Support/Windows/Path.inc +++ b/llvm/lib/Support/Windows/Path.inc @@ -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)) |