mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed compilation of POSIX targets
Making callstack resolving operational will require a little bit more effort src/scripting/vm/jit_runtime.cpp:900:31: error: use of undeclared identifier 'frames' src/scripting/vm/jit_runtime.cpp:903:23: error: use of undeclared identifier 'cnt'
This commit is contained in:
parent
1ef5becd4f
commit
8815379e15
1 changed files with 2 additions and 1 deletions
|
@ -897,10 +897,11 @@ public:
|
|||
{
|
||||
FString s;
|
||||
char **strings;
|
||||
void **frames;
|
||||
strings = backtrace_symbols(frames, 1);
|
||||
|
||||
// Decode the strings
|
||||
char *ptr = strings[cnt];
|
||||
char *ptr = strings[0];
|
||||
char *filename = ptr;
|
||||
const char *function = "";
|
||||
|
||||
|
|
Loading…
Reference in a new issue