diff --git a/src/scripting/vm/vmexec.cpp b/src/scripting/vm/vmexec.cpp index fb7ed463a..9bb88b9bd 100644 --- a/src/scripting/vm/vmexec.cpp +++ b/src/scripting/vm/vmexec.cpp @@ -149,11 +149,7 @@ VMExec_Checked::Exec // Note: If the VM is being used in multiple threads, this should be declared as thread_local. // ZDoom doesn't need this at the moment so this is disabled. -#ifndef __MINGW32__ thread_local VMFrameStack GlobalVMStack; -#else -VMFrameStack GlobalVMStack; -#endif //=========================================================================== diff --git a/src/scripting/vm/vmintern.h b/src/scripting/vm/vmintern.h index 5e511ab3f..b93f3e6ef 100644 --- a/src/scripting/vm/vmintern.h +++ b/src/scripting/vm/vmintern.h @@ -437,11 +437,7 @@ void VMFillParams(VMValue *params, VMFrame *callee, int numparam); void VMDumpConstants(FILE *out, const VMScriptFunction *func); void VMDisasm(FILE *out, const VMOP *code, int codesize, const VMScriptFunction *func); -#ifndef __MINGW32__ extern thread_local VMFrameStack GlobalVMStack; -#else -extern VMFrameStack GlobalVMStack; -#endif typedef std::pair FTypeAndOffset;