From 410d89970d4b569ab0077a309de2e98842ef573b Mon Sep 17 00:00:00 2001 From: Patrik Stridvall Date: Wed, 29 Sep 1999 10:23:18 +0000 Subject: [PATCH] Modification due to problems with winapi-check. --- msdos/dpmi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/msdos/dpmi.c b/msdos/dpmi.c index 9deb642435a..e5c19d46889 100644 --- a/msdos/dpmi.c +++ b/msdos/dpmi.c @@ -320,7 +320,9 @@ callrmproc_again: return 1; } } +#endif if (!already) { +#ifdef MZ_SUPPORTED if (!SS_reg(context)) { alloc = 1; /* allocate default stack */ stack16 = addr = DOSMEM_GetBlock( pModule->self, 64, (UINT16 *)&(SS_reg(context)) ); @@ -335,7 +337,6 @@ callrmproc_again: } ESP_reg(context) -= (args + (iret?1:0)) * sizeof(WORD); #else - if (!already) { stack16 = (LPWORD) CURRENT_STACK16; #endif stack16 -= args; -- 2.11.4.GIT