projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab022c9
)
Fix the uint16 typedef issue
author
Jun Tian
<jun.j.tian@intel.com>
Wed, 21 Nov 2012 08:12:13 +0000
(16:12 +0800)
committer
Jun 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
patch
|
blob
|
history
diff --git
a/fpu/softfloat.h
b/fpu/softfloat.h
index 1e4a0572e20ace586a559ee922c886c621570482..02d1d9ce7ef96eca4b8bb38155f771e5d9b3b7e1 100644
(file)
--- 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;