diff --git a/port/stack_trace.cc b/port/stack_trace.cc index b2075b9a9..c7ddd3a1a 100644 --- a/port/stack_trace.cc +++ b/port/stack_trace.cc @@ -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();