- 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:
alexey.lysiuk 2018-12-18 18:42:37 +02:00
parent 1ef5becd4f
commit 8815379e15

View file

@ -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 = "";