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:
Danny Al-Gaaf 2015-03-17 12:00:55 +01:00
parent 56337faf3e
commit c86e5d7b93
1 changed files with 1 additions and 1 deletions

View File

@ -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();