Skip to content

Commit

Permalink
Merge pull request #5208 from orieg/fix/crashreport-macosx
Browse files Browse the repository at this point in the history
Bug Fix #5207: fix typo in test condition to use atos on MACOSX
  • Loading branch information
RodneyBaker authored Dec 8, 2023
2 parents b7ebfa4 + 7027711 commit ab4e4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toonz/sources/toonz/crashhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ static bool sh(std::string &out, const char *cmd) {

static bool addr2line(std::string &out, const char *exepath, const char *addr) {
char cmd[512];
#ifdef OSX
#ifdef MACOSX
sprintf(cmd, "atos -o \"%.400s\" %s 2>&1", exepath, addr);
#else
sprintf(cmd, "addr2line -f -p -e \"%.400s\" %s 2>&1", exepath, addr);
Expand Down

0 comments on commit ab4e4dc

Please sign in to comment.