]> git.sur5r.net Git - openocd/commit
Fix compile failure on MacOSX
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Tue, 2 May 2017 14:47:21 +0000 (16:47 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Tue, 2 May 2017 15:43:20 +0000 (16:43 +0100)
commit3414daed26c87a41ba66f0fef6e6292564bb5111
tree7b4e56d471c934f038a93556d60e959c125c2316
parentcb317eabf2d162365467aeb89b564828e5e6d6f3
Fix compile failure on MacOSX

MacOSX tool chain defines __unused in "sys/cdefs.h", causing a collision.
Remove the local define to avoid polluting the compilers internal
symbol namespace.

Change-Id: I16370c4518e6aeec482dd689e7db80628f846ee3
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/4118
Reviewed-by: Steven Stallion <sstallion@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
src/target/aarch64.c
src/target/armv8.c