From 1d2c7fd407bb617c0617d8c8bceb41fa013e6fed Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 9 Feb 2017 19:54:58 +0100 Subject: [PATCH] -Werror,-Wunused-macros Change-Id: I06a6b6fa51fe437661610a4a678cd2d410bb1e4c --- sal/osl/unx/backtrace.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 ) {