1.0.10.18: Define __USE_GNU only if it wasn't already defined.
authorThiemo Seufer <ths@networkno.de>
Thu, 4 Oct 2007 22:52:51 +0000 (22:52 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 4 Oct 2007 22:52:51 +0000 (22:52 +0000)
src/runtime/backtrace.c
version.lisp-expr

index e7420e9..98189b9 100644 (file)
 #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))
index e19d770..3164953 100644 (file)
@@ -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"