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:
cf99595
)
[Title] Fix conflicting types for uint16 on Mac
author
Jun Tian
<jun.j.tian@intel.com>
Thu, 14 Jun 2012 06:42:58 +0000
(14:42 +0800)
committer
giwoong.kim
<giwoong.kim@samsung.com>
Fri, 20 Jul 2012 11:50:13 +0000
(20:50 +0900)
[Type]
[Module] Emulator
[Priority] normal
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution] It's an upstream bug on Mac. It resolved by defining _UINT16, then int16_t will be defined in other header file.
[TestCase]
fpu/softfloat.h
patch
|
blob
|
history
diff --git
a/fpu/softfloat.h
b/fpu/softfloat.h
index
063d3dd
..
937d7fa
100644
(file)
--- a/
fpu/softfloat.h
+++ b/
fpu/softfloat.h
@@
-57,7
+57,10
@@
typedef uint8_t flag;
typedef uint8_t uint8;
typedef int8_t int8;
#ifndef _AIX
+#if !(defined(__APPLE__) && defined(_UINT16))
typedef int16_t uint16;
+#define _UINT16
+#endif
typedef int int16;
#endif
typedef unsigned int uint32;