Change how old Borland DOS compilers are detected.

This commit is contained in:
2021-04-11 00:31:35 +01:00
parent b8e277b363
commit 7b344d773d
2 changed files with 10 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ unsigned int _dos_getdiskfree_ex(unsigned int drive, struct diskfree_ex_t* disks
#endif
}
#if defined(__BORLANDC__) && __BORLANDC__ <= 0x200
#ifdef OLD_BORLAND
unsigned _dos_write(int handle, void far* buf, unsigned len, unsigned* nwritten)
{
int ret;