source:
opengl-game/FileStackWalker.cpp@
5081b9a
Last change on this file since 5081b9a was 5529ab5, checked in by , 5 years ago | |
---|---|
|
|
File size: 358 bytes |
Line | |
---|---|
1 | #include "FileStackWalker.h" |
2 | |
3 | // Put this stuff in some common header shared by this and CrashLogger |
4 | |
5 | #include <io.h> |
6 | |
7 | #define write _write |
8 | |
9 | FileStackWalker::FileStackWalker(int fd_out) : StackWalker() { |
10 | this->fd_out = fd_out; |
11 | } |
12 | |
13 | void FileStackWalker::OnOutput(LPCSTR szText) { |
14 | write(fd_out, szText, strlen(szText)); |
15 | StackWalker::OnOutput(szText); |
16 | } |
Note:
See TracBrowser
for help on using the repository browser.