[llvm] r200605 - Hopefully fix mingw32 bots.
Peter Collingbourne
peter at pcc.me.uk
Fri Jan 31 18:42:21 PST 2014
Author: pcc
Date: Fri Jan 31 20:42:20 2014
New Revision: 200605
URL: http://llvm.org/viewvc/llvm-project?rev=200605&view=rev
Log:
Hopefully fix mingw32 bots.
For some reason this symbolic constant isn't defined in some versions of mingw32.
Modified:
llvm/trunk/lib/Support/Windows/Path.inc
Modified: llvm/trunk/lib/Support/Windows/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Path.inc?rev=200605&r1=200604&r2=200605&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Path.inc (original)
+++ llvm/trunk/lib/Support/Windows/Path.inc Fri Jan 31 20:42:20 2014
@@ -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))
More information about the llvm-commits
mailing list