]> git.sur5r.net Git - openocd/commit
CMSIS-DAP: Fix build errors on Mac OS X
authorJens Bauer <jens@gpio.dk>
Tue, 25 Feb 2014 21:05:13 +0000 (22:05 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 4 Mar 2014 20:18:17 +0000 (20:18 +0000)
commitd585c1627a14e7789aa659d73c43a1408657b041
treef627f4f5ac5acec22c3b973414502ccc040e2a80
parentda0d1e374bdf7eabf27c0e31dec57532e4d7e4c8
CMSIS-DAP: Fix build errors on Mac OS X

Rename the argument variable 'wait' to 'delay', as 'wait'
conflicts with an API function declared in system header
/usr/include/sys/wait.h on Mac OS X.

Change-Id: I5742da6e5def6e5ec197e774c3844e4bf0424569
Signed-off-by: Jens Bauer <jens@gpio.dk>
Reviewed-on: http://openocd.zylin.com/1973
Tested-by: jenkins
Reviewed-by: Andrey Yurovsky <yurovsky@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/cmsis_dap_usb.c