mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-21 21:04:43 +02:00
Bart's patch to fix compile with OW1.8
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1367 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
31bc1f6149
commit
58de498fca
@ -162,7 +162,11 @@ typedef struct ftime ftime;
|
|||||||
#else
|
#else
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
#if defined(__WATCOMC__) && __WATCOMC__ < 1280
|
||||||
unsigned short date, time;
|
unsigned short date, time;
|
||||||
|
#else
|
||||||
|
unsigned date, time;
|
||||||
|
#endif
|
||||||
} ftime;
|
} ftime;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1001,7 +1005,11 @@ BYTE far * readfile(COUNT drive, BYTE * srcPath, BYTE * rootPath,
|
|||||||
struct stat fstatbuf;
|
struct stat fstatbuf;
|
||||||
BYTE far *bufptr;
|
BYTE far *bufptr;
|
||||||
BYTE far *buffer;
|
BYTE far *buffer;
|
||||||
|
#if defined(__WATCOMC__) && __WATCOMC__ < 1280
|
||||||
UWORD theseg;
|
UWORD theseg;
|
||||||
|
#else
|
||||||
|
unsigned theseg;
|
||||||
|
#endif
|
||||||
|
|
||||||
strcpy(source, srcPath);
|
strcpy(source, srcPath);
|
||||||
if (rootPath != NULL) /* trick for comspec */
|
if (rootPath != NULL) /* trick for comspec */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user