arm-semi: Rename SYS_XXX macros to TARGET_SYS_XXX (fixes compiler warning)
authorStefan Weil <sw@weilnetz.de>
Sat, 28 Apr 2012 05:07:47 +0000 (05:07 +0000)
committerStefan Weil <sw@weilnetz.de>
Thu, 3 May 2012 05:04:48 +0000 (07:04 +0200)
commit3881725cf0c34b366285e2c9ddda941185c9f861
tree8f23f067bcecb3358ccbf283a473414a61b97ca6
parentb3412b09e9a437f1e16ca6e63ea78ce97e2dd54c
arm-semi: Rename SYS_XXX macros to TARGET_SYS_XXX (fixes compiler warning)

SYS_OPEN is already defined in stdio.h of MinGW-w64,
therefore the compiler complains when building for w64.

Adding the prefix TARGET_ avoids that macro redefinition.
xtensa-semi.c also uses the same prefix (but mixed case macros
TARGET_SYS_xxx instead of TARGET_SYS_XXX).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
arm-semi.c