From 5577071ff87fd2839f4ba4034840d63d9e371125 Mon Sep 17 00:00:00 2001 From: Jun Tian Date: Wed, 21 Nov 2012 16:12:13 +0800 Subject: [PATCH] Fix the uint16 typedef issue Signed-off-by: Jun Tian --- fpu/softfloat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fpu/softfloat.h b/fpu/softfloat.h index 1e4a0572e2..02d1d9ce7e 100644 --- a/fpu/softfloat.h +++ b/fpu/softfloat.h @@ -57,9 +57,11 @@ these four paragraphs for those parts of this code that are retained. typedef uint8_t flag; typedef uint8_t uint8; typedef int8_t int8; -#if !(defined(__APPLE__) && defined(_UINT16)) +#ifndef __APPLE__ +#ifndef _UINT16 #define _UINT16 #endif +#endif typedef unsigned int uint32; typedef signed int int32; typedef uint64_t uint64; -- 2.34.1