diff options
author | Andreas Färber <afaerber@suse.de> | 2012-04-26 00:15:56 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-04-28 09:13:26 +0000 |
commit | 94a49d86c536af37bf18722c23cb9b85acfb00ec (patch) | |
tree | 7ea09526488668e5c8abf6970bc1c92708052a0f /osdep.h | |
parent | 5aea4c589aa16d30227a71e137faa9dca6a45748 (diff) | |
download | hqemu-94a49d86c536af37bf18722c23cb9b85acfb00ec.zip hqemu-94a49d86c536af37bf18722c23cb9b85acfb00ec.tar.gz |
softfloat: Replace int16 type with int_fast16_t
Based on the following Coccinelle patch:
@@
typedef int16, int_fast16_t;
@@
-int16
+int_fast16_t
Avoids a workaround for AIX.
Add typedef for pre-10 Solaris.
Signed-off-by: Andreas Färber <afaerber@suse.de>
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>
Diffstat (limited to 'osdep.h')
-rw-r--r-- | osdep.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -14,6 +14,7 @@ /* [u]int_fast*_t not in <sys/int_types.h> */ typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; +typedef signed int int_fast16_t; #endif #ifndef glue |