FIX: ansi add if __STDC__ compile add undef
This commit is contained in:
parent
c93071a565
commit
c23e61fc23
@ -1,5 +1,8 @@
|
|||||||
# ANSI转义字符归纳表
|
# ANSI转义字符归纳表
|
||||||
|
|
||||||
|
## 在代码中检测是否支持ANSI C
|
||||||
|
`#if __STDC__ == 1`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## **1. 文本样式控制**
|
## **1. 文本样式控制**
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
- [预定义宏](#预定义宏)
|
- [预定义宏](#预定义宏)
|
||||||
- [ifdef](#ifdef)
|
- [ifdef](#ifdef)
|
||||||
- [ifndef](#ifndef)
|
- [ifndef](#ifndef)
|
||||||
|
- [undef](#undef) : 若要修改一个宏,先移除再定义
|
||||||
- [endif](#endif)
|
- [endif](#endif)
|
||||||
- [pragma](#pragma)
|
- [pragma](#pragma)
|
||||||
- [error](#error)
|
- [error](#error)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user