projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86cb795
)
Hopefully fix mingw32 bots.
author
Peter Collingbourne
<peter@pcc.me.uk>
Sat, 1 Feb 2014 02:42:20 +0000
(
02:42
+0000)
committer
Peter Collingbourne
<peter@pcc.me.uk>
Sat, 1 Feb 2014 02:42:20 +0000
(
02:42
+0000)
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
lib/Support/Windows/Path.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Windows/Path.inc
b/lib/Support/Windows/Path.inc
index e218fa2e726e69ba2001522ec76a34749421e75b..5a41e49e2561133782a82435dd133cbbbb9e82d6 100644
(file)
--- 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))