commit 3cdd7966d72a7e8b2e63938cbbb62030556b93fe Author: Nick Mathewson nickm@torproject.org Date: Mon Nov 18 13:05:23 2013 -0500
Add a _GNU_SOURCE definition to backtrace.c to fix compilation --- src/common/backtrace.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/common/backtrace.c b/src/common/backtrace.c index f0f499a..5049298 100644 --- a/src/common/backtrace.c +++ b/src/common/backtrace.c @@ -1,14 +1,15 @@ /* Copyright (c) 2013, The Tor Project, Inc. */ /* See LICENSE for licensing information */
+#define __USE_GNU +#define _GNU_SOURCE 1 + #include "orconfig.h" #include "backtrace.h" #include "compat.h" #include "util.h" #include "torlog.h"
-#define __USE_GNU - #ifdef HAVE_EXECINFO_H #include <execinfo.h> #endif
tor-commits@lists.torproject.org