From 4e29601620da84a47f2711fe5a2e4de5983f2c51 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Thu, 4 Oct 2007 22:52:51 +0000 Subject: [PATCH] 1.0.10.18: Define __USE_GNU only if it wasn't already defined. --- src/runtime/backtrace.c | 6 ++++-- version.lisp-expr | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/runtime/backtrace.c b/src/runtime/backtrace.c index e7420e9..98189b9 100644 --- a/src/runtime/backtrace.c +++ b/src/runtime/backtrace.c @@ -34,9 +34,11 @@ #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 -#include "dlfcn.h" +# define __USE_GNU +# endif +# include "dlfcn.h" #endif #if !(defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64)) diff --git a/version.lisp-expr b/version.lisp-expr index e19d770..3164953 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"1.0.10.17" +"1.0.10.18" -- 1.7.10.4