commit | 04e6ba7fcceceec3d5db1808e993f1be4020be3c | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Thu Jun 10 04:56:00 2010 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Thu Jun 10 04:56:00 2010 +0000 |
tree | e31e387ee89dee7bda2129f110f2e4b29fb7cb1a | |
parent | 048ceecb15b35985a6704c44996718870aa640fb [diff] [blame] |
Expand AR_EFMT1 because the define is not present on Linux (and possibly other systems). llvm-svn: 105782
diff --git a/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp b/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp index c2fb2a5..218bf0b 100644 --- a/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp +++ b/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
@@ -56,7 +56,7 @@ std::string str; char *err; str.assign ((const char *)data.GetData(&offset, 16), 16); - if (str.find(AR_EFMT1) == 0) + if (str.find("#1/") == 0) { // If the name is longer than 16 bytes, or contains an embedded space // then it will use this format where the length of the name is