add missing #ifdef, this code is part of skeleton logic for upcoming LFN support - int 2F 1242 internal 64 bit LSEEK should only be active if LFN API available

This commit is contained in:
Kenneth J Davis 2021-08-09 17:42:07 -04:00
parent 1bb536c383
commit b0653c0c5f
1 changed files with 4 additions and 0 deletions

View File

@ -2204,6 +2204,8 @@ VOID ASMCFUNC int2F_12_handler(struct int2f12regs FAR *pr)
rc = DosClose(r.BX);
goto short_check;
#ifdef WITHFAT32
#ifdef WITHLFNAPI
case 0x42: /* 64-bit move file pointer */
{
/* r.(DS:DX) points to 64-bit file position instead of r.(CX:DX) being 32-bit file position */
@ -2215,6 +2217,8 @@ VOID ASMCFUNC int2F_12_handler(struct int2f12regs FAR *pr)
r.DX = loword(*filepos);
/* fall through to 32-bit move file pointer (0x28) */
}
#endif
#endif
case 0x28: /* move file pointer */
/*
* RBIL says: "sets user stack frame pointer to dummy buffer,