Macro to turn off printf statements

后端 未结 10 1622
粉色の甜心
粉色の甜心 2020-12-14 08:42

What MACRO can be used to switch off printf statements, rather than removing them all for deployment builds, I just want to switch them off, skip them, ignore them.

10条回答
  •  孤城傲影
    2020-12-14 08:42

    I included #define printf // in common header file. It will suppress all the printf.

提交回复
热议问题