mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-26 23:34:18 +02:00
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:
parent
1bb536c383
commit
b0653c0c5f
@ -2204,6 +2204,8 @@ VOID ASMCFUNC int2F_12_handler(struct int2f12regs FAR *pr)
|
|||||||
rc = DosClose(r.BX);
|
rc = DosClose(r.BX);
|
||||||
goto short_check;
|
goto short_check;
|
||||||
|
|
||||||
|
#ifdef WITHFAT32
|
||||||
|
#ifdef WITHLFNAPI
|
||||||
case 0x42: /* 64-bit move file pointer */
|
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 */
|
/* 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);
|
r.DX = loword(*filepos);
|
||||||
/* fall through to 32-bit move file pointer (0x28) */
|
/* fall through to 32-bit move file pointer (0x28) */
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
case 0x28: /* move file pointer */
|
case 0x28: /* move file pointer */
|
||||||
/*
|
/*
|
||||||
* RBIL says: "sets user stack frame pointer to dummy buffer,
|
* RBIL says: "sets user stack frame pointer to dummy buffer,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user