source:
opengl-game/FileStackWalker.cpp
| Last change on this file was 5529ab5, checked in by , 6 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.
![(please configure the [header_logo] section in trac.ini)](/medieval/chrome/site/your_project_logo.png)