Fix compile error for secondary build configs.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5590 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-12-16 17:24:09 +00:00
parent 5fa62eb2d0
commit c5909c6744

View file

@ -1642,7 +1642,7 @@ static int PR_ExecuteCode16 (progfuncs_t *fte_restrict progfuncs, int s, int *ft
#if defined(FTE_TARGET_WEB) || defined(SIMPLE_QCVM)
reeval16:
//this can generate huge functions, so disable it on systems that can't realiably cope with such things (IE initiates an unwanted denial-of-service attack when pointed our javascript, and firefox prints a warning too)
pr_xstatement = st-pr_statements16;
prinst.pr_xstatement = st-pr_statements16;
return PR_NoDebugVM(progfuncs);
#else
#define DEBUGABLE
@ -1666,7 +1666,7 @@ static int PR_ExecuteCode32 (progfuncs_t *fte_restrict progfuncs, int s, int *ft
{
#if defined(FTE_TARGET_WEB) ||defined(SIMPLE_QCVM)
//this can generate huge functions, so disable it on systems that can't realiably cope with such things (IE initiates an unwanted denial-of-service attack when pointed our javascript, and firefox prints a warning too)
pr_xstatement = s;
prinst.pr_xstatement = s;
PR_RunError (&progfuncs->funcs, "32bit qc statement support was disabled for this platform.\n");
PR_StackTrace(&progfuncs->funcs, false);
return -1;