stack_trace.cc: fix #elif check for OS_MACOSX
Fix '#elif with no expression' add defined() to check. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
56337faf3e
commit
c86e5d7b93
@ -71,7 +71,7 @@ void PrintStackTraceLine(const char* symbol, void* frame) {
|
||||
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
#elif OS_MACOSX
|
||||
#elif defined(OS_MACOSX)
|
||||
|
||||
void PrintStackTraceLine(const char* symbol, void* frame) {
|
||||
static int pid = getpid();
|
||||
|
Loading…
Reference in New Issue
Block a user