summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common/FileSpec.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-03-13 11:23:59 +0000
committerPavel Labath <labath@google.com>2017-03-13 11:23:59 +0000
commit6a3b059fb7309cc41b75e7d33d7c8c4b668584d4 (patch)
treec5fd1038959deaf7dd65ed19069d682a54a87947 /lldb/source/Host/common/FileSpec.cpp
parente39fa57d358ccc44090d1d6d8613a57c375712fc (diff)
downloadbcm5719-llvm-6a3b059fb7309cc41b75e7d33d7c8c4b668584d4.tar.gz
bcm5719-llvm-6a3b059fb7309cc41b75e7d33d7c8c4b668584d4.zip
Fix windows build broken by r297612
I have got my boolean logic incorrect. Sorry about the spam. llvm-svn: 297615
Diffstat (limited to 'lldb/source/Host/common/FileSpec.cpp')
-rw-r--r--lldb/source/Host/common/FileSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/FileSpec.cpp b/lldb/source/Host/common/FileSpec.cpp
index 5dccdd64db1..3a675dcc75b 100644
--- a/lldb/source/Host/common/FileSpec.cpp
+++ b/lldb/source/Host/common/FileSpec.cpp
@@ -218,7 +218,7 @@ void FileSpec::ResolveUsername(llvm::SmallVectorImpl<char> &path) {
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();
OpenPOWER on IntegriCloud