avr.cfg: Added macros of stdint.h.
This commit is contained in:
parent
156300b2bf
commit
2ee0723ad4
|
@ -2,6 +2,9 @@
|
|||
<!-- Based on http://www.nongnu.org/avr-libc/user-manual/group__avr__stdint.html -->
|
||||
<def>
|
||||
<!-- stdint.h -->
|
||||
<define name="__USING_MINT8" value="0"/>
|
||||
<define name="__CONCATenate(left, right)" value="left ## right"/>
|
||||
<define name="__CONCAT(left, right)" value="__CONCATenate(left, right)"/>
|
||||
<!-- Integer types capable of holding object pointers -->
|
||||
<podtype name="intptr_t" sign="s" size="2"/>
|
||||
<podtype name="uintptr_t" sign="u" size="2"/>
|
||||
|
@ -85,9 +88,9 @@
|
|||
<define name="INT32_C(value)" value="__CONCAT(value, L)"/>
|
||||
<define name="UINT32_C(value)" value="__CONCAT(value, UL)"/>
|
||||
<define name="INT64_C(value)" value="__CONCAT(value, LL)"/>
|
||||
<define name="UINT64_C(value)" value="__CONCAT(value, ULL)"/>
|
||||
<define name="UINT64_C(value)" value="__CONCAT(value, ULL)"/>
|
||||
<define name="INTMAX_C(value)" value="__CONCAT(value, LL)"/>
|
||||
<define name="UINTMAX_C(value)" value="__CONCAT(value, ULL)"/>
|
||||
<define name="UINTMAX_C(value)" value="__CONCAT(value, ULL)"/>
|
||||
<!-- FIXME: add macros for printf and scanf format specifiers,e.g. PRId8 -->
|
||||
<!-- math.h -->
|
||||
<define name="M_E" value="2.7182818284590452354"/>
|
||||
|
@ -115,5 +118,5 @@
|
|||
<define name="tanhf" value="tanh"/>
|
||||
<define name="truncf" value="trunc"/>
|
||||
<!-- The rest of the trigonometric functions are defined in std.cfg -->
|
||||
<!-- setjmp.h -->
|
||||
<!-- setjmp.h -->
|
||||
</def>
|
||||
|
|
Loading…
Reference in New Issue