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 | 69a0d80f55a0994ee857415bcc348d6d54c9ec1a (patch) | |
tree | 158e7adaf246f29d933cbce8b3056ad3bc2e85ce | |
parent | 86cb795388643710dab34941ddcb5a9470ac39d8 (diff) | |
download | llvm-69a0d80f55a0994ee857415bcc348d6d54c9ec1a.tar.gz llvm-69a0d80f55a0994ee857415bcc348d6d54c9ec1a.tar.bz2 llvm-69a0d80f55a0994ee857415bcc348d6d54c9ec1a.tar.xz |
Hopefully fix mingw32 bots.
For some reason this symbolic constant isn't defined in some versions of mingw32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200605 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/Windows/Path.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc index e218fa2e72..5a41e49e25 100644 --- a/lib/Support/Windows/Path.inc +++ b/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)) |