#if和#ifdef区别

#if  是要去判断, 跟值有关

#ifdef  只要定义了即可, 就会走下面的代码, 不管值是0还是1

所以一般都是用#ifdef DEBUG调试

原文地址:https://www.cnblogs.com/lion-witcher/p/6277511.html