On Sun, Apr 26, 2015 at 19:18:41 -0700, Peter Crosthwaite wrote: > On Sun, Apr 26, 2015 at 3:04 PM, Emilio G. Cota <c...@braap.org> wrote: > > It's defined in osdep.h and shouldn't be redefined here. > > > > Signed-off-by: Emilio G. Cota <c...@braap.org> > > > Reviewed-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com>
Thanks for having a look! > It looks like there may be another one too: > > hw/audio/fmopl.c:#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) That one is protected by #ifndef ARRAY_SIZE and AFAICT the file does not include any qemu headers, so we can safely leave it as is. Emilio