Re: [Qemu-devel] [PATCH] arm-semi: Rename SYS_XXX macros to TARGET_SYS_XXX (fixes compiler warning)

2012-04-28 Thread Peter Maydell
On 28 April 2012 16:38, Peter Maydell wrote: > On 28 April 2012 16:07, Stefan Weil wrote: >> 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 t

Re: [Qemu-devel] [PATCH] arm-semi: Rename SYS_XXX macros to TARGET_SYS_XXX (fixes compiler warning)

2012-04-28 Thread Peter Maydell
On 28 April 2012 16:07, Stefan Weil wrote: > 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_xx

[Qemu-devel] [PATCH] arm-semi: Rename SYS_XXX macros to TARGET_SYS_XXX (fixes compiler warning)

2012-04-28 Thread Stefan Weil
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 We