std.cfg: Added (experimental) support for MIN/MAX-macros. In case it turnes out this causes unexpected side effects, they can be easily removed.
This commit is contained in:
parent
b222ff14be
commit
f70e01b2b1
|
@ -36,6 +36,9 @@
|
|||
<define name="UINT_LEAST16_MAX" value="65535"/>
|
||||
<define name="UINT_LEAST32_MAX" value="4294967295"/>
|
||||
<define name="UINT_LEAST64_MAX" value="18446744073709551615"/>
|
||||
<!-- These MIN/MAX macros are not part of the language but they are implemented and used very often -->
|
||||
<define name="MAX(a,b)" value="(((a) > (b)) ? (a) : (b))"/>
|
||||
<define name="MIN(a,b)" value="(((a) < (b)) ? (a) : (b))"/>
|
||||
<!-- errno_t is a typedef for int -->
|
||||
<define name="errno_t" value="int"/>
|
||||
<!-- void abort(void); -->
|
||||
|
|
Loading…
Reference in New Issue