On 25 April 2012 23:15, Andreas Färber <andreas.faer...@web.de> wrote: > From: Andreas Färber <afaer...@suse.de> > > Based on the following Coccinelle patch: > > @@ > typedef uint16, uint_fast16_t; > @@ > -uint16 > +uint_fast16_t > > Fixes the build of the Cocoa frontend on Mac OS X and avoids a > workaround for AIX. > > For pre-10 Solaris include osdep.h. > > Reported-by: Pavel Borzenkov <pavel.borzen...@gmail.com> > Reported-by: Rui Carmo <rui.ca...@gmail.com> > Signed-off-by: Andreas Färber <afaer...@suse.de> > Cc: Juan Pineda <j...@logician.com> > Cc: malc <av1...@comtv.ru> > Cc: Ben Taylor <bentaylor.sol...@gmail.com>
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> This is a safe change, because the uint16 type is used only in a couple of functions which are only used by the ARM target, and I've thrown a pile of tests at it to confirm that this is still generating correct results. -- PMM