diff options
author | Jim Ingham <jingham@apple.com> | 2019-12-16 18:08:21 -0800 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2019-12-16 18:09:24 -0800 |
commit | 9e9c5f0a6346ef02e31d5e8b91e6aab16a2e9370 (patch) | |
tree | 7589a0c0b75593eadcd8da9f4566962ec683d151 /lldb/packages/Python/lldbsuite/test/commands/expression/no-deadlock/locking.cpp | |
parent | 4e48513b472bddf239fc4a9953b0e8c856f284ef (diff) | |
download | bcm5719-llvm-9e9c5f0a6346ef02e31d5e8b91e6aab16a2e9370.tar.gz bcm5719-llvm-9e9c5f0a6346ef02e31d5e8b91e6aab16a2e9370.zip |
Explicitly specify -std=c++11 and include <mutex> and <condition_variable>.
These files built on macos but not on Debian Linux. Let's see if this fixes it.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression/no-deadlock/locking.cpp')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/commands/expression/no-deadlock/locking.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/no-deadlock/locking.cpp b/lldb/packages/Python/lldbsuite/test/commands/expression/no-deadlock/locking.cpp index fab3aa8c563..8288a668fe8 100644 --- a/lldb/packages/Python/lldbsuite/test/commands/expression/no-deadlock/locking.cpp +++ b/lldb/packages/Python/lldbsuite/test/commands/expression/no-deadlock/locking.cpp @@ -1,5 +1,7 @@ #include <stdio.h> #include <thread> +#include <mutex> +#include <condition_variable> std::mutex contended_mutex; |