bombela / backward-cpp

A beautiful stack trace pretty printer for C++
MIT License
3.73k stars 471 forks source link

typo in macro condition #202

Closed asherikov closed 3 years ago

asherikov commented 3 years ago

https://github.com/bombela/backward-cpp/blob/master/backward.hpp#L4162:

    #if defined(__APPLE__)
      error_addr = reinterpret_cast<void *>(uctx->uc_mcontext->__ss.__pc);
    #elif
      error_addr = reinterpret_cast<void *>(uctx->uc_mcontext.pc);
    #endif

should be #else instead of #elif