* commit '884116c84aecd9d6685398e2735d6422909bb104': Attempt to fix Mac build
This commit is contained in:
commit
f95d880fe7
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ bool BacktraceMap::Build() {
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
// cmd is guaranteed to always be big enough to hold this string.
|
// cmd is guaranteed to always be big enough to hold this string.
|
||||||
sprintf(cmd, "vmmap -w -resident -submap -allSplitLibs -interleaved %d", pid);
|
sprintf(cmd, "vmmap -w -resident -submap -allSplitLibs -interleaved %d", pid_);
|
||||||
FILE* fp = popen(cmd, "r");
|
FILE* fp = popen(cmd, "r");
|
||||||
#else
|
#else
|
||||||
// path is guaranteed to always be big enough to hold this string.
|
// path is guaranteed to always be big enough to hold this string.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue