source:
opengl-game/FileStackWalker.cpp@
ca188cc
Last change on this file since ca188cc was 5529ab5, checked in by , 5 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.