diff --git a/osdep.h b/osdep.h index 428285c7e0ef0d1a91a5c2937ed3f011c403a7bf..095407dd7d31a1cd4f191015f3ca1cf3eb43902c 100644 --- a/osdep.h +++ b/osdep.h @@ -10,6 +10,12 @@ #include +#if defined(CONFIG_SOLARIS) && CONFIG_SOLARIS_VERSION < 10 +/* [u]int_fast*_t not in */ +typedef unsigned char uint_fast8_t; +typedef unsigned int uint_fast16_t; +#endif + #ifndef glue #define xglue(x, y) x ## y #define glue(x, y) xglue(x, y) diff --git a/target-mips/cpu.h b/target-mips/cpu.h index 257c4c462b599da77d9738673c84a0f8ef709dd1..f156c066a84ccf6002b0980c8768b0445c27368f 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -15,13 +15,6 @@ #include "cpu-defs.h" #include "softfloat.h" -// uint_fast8_t and uint_fast16_t not in -// XXX: move that elsewhere -#if defined(CONFIG_SOLARIS) && CONFIG_SOLARIS_VERSION < 10 -typedef unsigned char uint_fast8_t; -typedef unsigned int uint_fast16_t; -#endif - struct CPUMIPSState; typedef struct r4k_tlb_t r4k_tlb_t;