diff --git a/sal/osl/unx/backtrace.c b/sal/osl/unx/backtrace.c index 35bea16bf06a..59369101f4f7 100644 --- a/sal/osl/unx/backtrace.c +++ b/sal/osl/unx/backtrace.c @@ -214,12 +214,6 @@ void backtrace_symbols_fd( void **buffer, int size, int fd ) } } -#elif defined LINUX - -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif - #elif defined( MACOSX ) #include @@ -288,7 +282,7 @@ void backtrace_symbols_fd( void **buffer, int size, int fd ) } } -#else +#elif !defined LINUX int backtrace( void **buffer, int max_frames ) {