[Lldb-commits] [lldb] r297615 - Fix windows build broken by r297612

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 13 04:23:59 PDT 2017


Author: labath
Date: Mon Mar 13 06:23:59 2017
New Revision: 297615

URL: http://llvm.org/viewvc/llvm-project?rev=297615&view=rev
Log:
Fix windows build broken by r297612

I have got my boolean logic incorrect. Sorry about the spam.

Modified:
    lldb/trunk/source/Host/common/FileSpec.cpp

Modified: lldb/trunk/source/Host/common/FileSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/FileSpec.cpp?rev=297615&r1=297614&r2=297615&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/FileSpec.cpp (original)
+++ lldb/trunk/source/Host/common/FileSpec.cpp Mon Mar 13 06:23:59 2017
@@ -218,7 +218,7 @@ void FileSpec::ResolveUsername(llvm::Sma
 
 size_t FileSpec::ResolvePartialUsername(llvm::StringRef partial_name,
                                         StringList &matches) {
-#if !defined(LLVM_ON_WIN32) || !defined(__ANDROID__)
+#if !defined(LLVM_ON_WIN32) && !defined(__ANDROID__)
   size_t extant_entries = matches.GetSize();
 
   setpwent();




More information about the lldb-commits mailing list