source:
opengl-game/FileStackWalker.cpp@
6bac215
| Last change on this file since 6bac215 was 5529ab5, checked in by , 6 years ago | |
|---|---|
|
|
| File size: 358 bytes | |
| Rev | Line | |
|---|---|---|
| [d9b6a1c] | 1 | #include "FileStackWalker.h" |
| 2 | ||
| [6abfd07] | 3 | // Put this stuff in some common header shared by this and CrashLogger |
| 4 | ||
| 5 | #include <io.h> | |
| 6 | ||
| 7 | #define write _write | |
| 8 | ||
| [d9b6a1c] | 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)