projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make %EMIT-ALIGNMENT be more friendly to multi-byte NOPs.
[sbcl.git]
/
src
/
runtime
/
backtrace.c
diff --git
a/src/runtime/backtrace.c
b/src/runtime/backtrace.c
index
c618ca7
..
5585122
100644
(file)
--- a/
src/runtime/backtrace.c
+++ b/
src/runtime/backtrace.c
@@
-13,6
+13,9
@@
* files for more information.
*/
* files for more information.
*/
+/* needed if we want dladdr() and Dl_Info from glibc's dlfcn.h */
+#define _GNU_SOURCE
+
#include <stdio.h>
#include <signal.h>
#include "sbcl.h"
#include <stdio.h>
#include <signal.h>
#include "sbcl.h"
@@
-34,11
+37,7
@@
#include "thread.h"
#ifdef LISP_FEATURE_OS_PROVIDES_DLADDR
#include "thread.h"
#ifdef LISP_FEATURE_OS_PROVIDES_DLADDR
-# ifndef __USE_GNU
-/* __USE_GNU needed if we want dladdr() and Dl_Info from glibc. */
-# define __USE_GNU
-# endif
-# include "dlfcn.h"
+# include <dlfcn.h>
#endif
#if !(defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64))
#endif
#if !(defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64))