]> git.sur5r.net Git - openocd/commit
buildfix on MacOS
authorMasaki Muranaka <monaka@monami-software.com>
Sat, 9 Jan 2010 06:41:31 +0000 (15:41 +0900)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 9 Jan 2010 08:10:18 +0000 (00:10 -0800)
commitaafd3877e6fbc1745dbfc5d4f54a2c7efe8cc3d6
treef3cca05e6c8c0b74a3e2d632349091046fbb1a22
parent973cd9a299d904ab22bb089319beab65c339d783
buildfix on MacOS

Recent Apple gcc versions use __APPLE__ instead of __DARWIN__; accept
that too.

Also use #warning, not #warn; neither is standard, but most CPP versions
require it to be spelled out.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/helper/command.c