vc++ release模式下不存_DEBUG宏定义的解决方案

#ifndef
#define _DEBUG 0
#endif

#ifdef _DEBUG
#define trace(x) printf(x);
#else
#define trace(x) ;
#endif

  

posted @ 2014-08-16 16:20  boys2012  阅读(373)  评论(0编辑  收藏  举报