summaryrefslogtreecommitdiff
path: root/lowlevelilinstruction.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2020-05-08 05:26:56 -0400
committerRusty Wagner <rusty@vector35.com>2020-05-11 15:55:54 -0400
commit0cf59807fa364b11de65dc3f1e1c2d2bc7dd87a2 (patch)
treea909c15c117f5eb1cf38853659ba799f1b5c1506 /lowlevelilinstruction.cpp
parentceacbae6b36e1425c2e0dd87c73075858f21ec10 (diff)
Modifications for supporting jemalloc in the core
Diffstat (limited to 'lowlevelilinstruction.cpp')
-rw-r--r--lowlevelilinstruction.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lowlevelilinstruction.cpp b/lowlevelilinstruction.cpp
index f55d15f0..faaa79a9 100644
--- a/lowlevelilinstruction.cpp
+++ b/lowlevelilinstruction.cpp
@@ -30,7 +30,9 @@ using namespace BinaryNinjaCore;
using namespace BinaryNinja;
#endif
+#ifndef BINARYNINJACORE_LIBRARY
using namespace std;
+#endif
unordered_map<LowLevelILOperandUsage, LowLevelILOperandType>
@@ -3262,7 +3264,7 @@ ExprId LowLevelILFunction::Call(ExprId dest, const ILSourceLocation& loc)
ExprId LowLevelILFunction::CallStackAdjust(ExprId dest, int64_t adjust,
- const std::map<uint32_t, int32_t>& regStackAdjust, const ILSourceLocation& loc)
+ const map<uint32_t, int32_t>& regStackAdjust, const ILSourceLocation& loc)
{
vector<size_t> list;
for (auto& i : regStackAdjust)