浏览代码

Console output to stdout only for debug build

Thomas Buck 10 年前
父节点
当前提交
31d3c594f5
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/Console.cpp

+ 2
- 0
src/Console.cpp 查看文件

@@ -73,7 +73,9 @@ void Console::print(const char *s, ...) {
73 73
 
74 74
     if (tmp != NULL) {
75 75
         mHistory.push_back(tmp);
76
+#ifdef DEBUG
76 77
         printf("%s\n", tmp);
78
+#endif
77 79
     }
78 80
 }
79 81
 

正在加载...
取消
保存