summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-09-04 11:01:09 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-04 12:51:02 +1000
commit21f04f008e6b1ab66a63de3de668b1f261a6928a (patch)
tree6b5242963c1fe0ea7a3729311a62499bc4539dc3 /os
parent09f0ee1324b046f2830bdd260f6e2a67ee8f2973 (diff)
os: don't redefine GNU_SOURCE
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'os')
-rw-r--r--os/backtrace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/backtrace.c b/os/backtrace.c
index a8866882b..a421140fb 100644
--- a/os/backtrace.c
+++ b/os/backtrace.c
@@ -29,7 +29,9 @@
#include "misc.h"
#ifdef HAVE_BACKTRACE
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <dlfcn.h>
#include <execinfo.h>