summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-27 05:29:30 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-27 05:29:30 +0000
commit70d80bba5aa9f7ba5d24625265ef549770f592c4 (patch)
tree61dbda42f47e4a091cf3239027b343ca56ce26d7 /src/target
parentb0acd7851194fd37287e10f5d07d7f8206369cdf (diff)
downloadopenocd_libswd-70d80bba5aa9f7ba5d24625265ef549770f592c4.tar.gz
openocd_libswd-70d80bba5aa9f7ba5d24625265ef549770f592c4.tar.bz2
openocd_libswd-70d80bba5aa9f7ba5d24625265ef549770f592c4.tar.xz
openocd_libswd-70d80bba5aa9f7ba5d24625265ef549770f592c4.zip
Zach Welch <zw@superlucidity.net> wrap _GNU_SOURCE defines
git-svn-id: svn://svn.berlios.de/openocd/trunk@1532 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/oocd_trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/oocd_trace.c b/src/target/oocd_trace.c
index 55ea67ca..e59c6203 100644
--- a/src/target/oocd_trace.c
+++ b/src/target/oocd_trace.c
@@ -21,7 +21,9 @@
#include "config.h"
#endif
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <string.h>
#include <errno.h>