summaryrefslogtreecommitdiff
path: root/osdep.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-04-26 00:15:56 +0200
committerBlue Swirl <blauwirbel@gmail.com>2012-04-28 09:13:26 +0000
commit94a49d86c536af37bf18722c23cb9b85acfb00ec (patch)
tree7ea09526488668e5c8abf6970bc1c92708052a0f /osdep.h
parent5aea4c589aa16d30227a71e137faa9dca6a45748 (diff)
downloadqemu-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/osdep.h b/osdep.h
index 095407dd7d..9db8766964 100644
--- a/osdep.h
+++ b/osdep.h
@@ -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