Define _GNU_SOURCE in config.h, remove definitions from source files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1757 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -21,11 +21,6 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
// we must define _GNU_SOURCE to get strndup
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include "oocd_trace.h"
|
||||
#include "arm7_9_common.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user