softfloat: Replace uint16 type with uint_fast16_t
commit5aea4c589aa16d30227a71e137faa9dca6a45748
authorAndreas Färber <afaerber@suse.de>
Wed, 25 Apr 2012 22:15:55 +0000 (26 00:15 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 28 Apr 2012 09:13:09 +0000 (28 09:13 +0000)
tree0fe9a481ac5793d19e03fbcd5f68806b5c75633c
parentdda3c2ee335480c52acfe354d0f4d1198268f7b2
softfloat: Replace uint16 type with uint_fast16_t

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.borzenkov@gmail.com>
Reported-by: Rui Carmo <rui.carmo@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Juan Pineda <juan@logician.com>
Cc: malc <av1474@comtv.ru>
Cc: Ben Taylor <bentaylor.solx86@gmail.com>
Tested-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
fpu/softfloat.c
fpu/softfloat.h