소스 검색

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
 

Loading…
취소
저장