-Werror,-Wunused-macros

Change-Id: I06a6b6fa51fe437661610a4a678cd2d410bb1e4c
This commit is contained in:
Stephan Bergmann 2017-02-09 19:54:58 +01:00
parent a218c5c639
commit 1d2c7fd407

View File

@ -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 <dlfcn.h>
@ -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 )
{