Fix the uint16 typedef issue
authorJun Tian <jun.j.tian@intel.com>
Wed, 21 Nov 2012 08:12:13 +0000 (16:12 +0800)
committerJun Tian <jun.j.tian@intel.com>
Wed, 21 Nov 2012 09:09:20 +0000 (17:09 +0800)
Signed-off-by: Jun Tian <jun.j.tian@intel.com>
fpu/softfloat.h

index 1e4a0572e20ace586a559ee922c886c621570482..02d1d9ce7ef96eca4b8bb38155f771e5d9b3b7e1 100644 (file)
@@ -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;