Fix builds with Turbo C.

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1330 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2007-05-26 21:57:11 +00:00
parent 29d6eb79f1
commit ce58a924fe
3 changed files with 4 additions and 4 deletions

View File

@ -473,7 +473,7 @@ struct nlsInfoBlock { /* This block contains all information
hardcoded U.S.A./CP437 */ hardcoded U.S.A./CP437 */
}; };
extern struct nlsInfoBlock nlsInfo; extern struct nlsInfoBlock ASM nlsInfo;
extern struct nlsPackage ASM nlsPackageHardcoded; extern struct nlsPackage ASM nlsPackageHardcoded;
/* These are the "must have" tables within the hard coded NLS pkg */ /* These are the "must have" tables within the hard coded NLS pkg */
extern struct nlsFnamTerm nlsFnameTermHardcoded; extern struct nlsFnamTerm nlsFnameTermHardcoded;

View File

@ -38,8 +38,8 @@ production: ..\bin\$(TARGET).sys
kernel.sys: kernel.exe ..\utils\exeflat.exe kernel.sys: kernel.exe ..\utils\exeflat.exe
..\utils\exeflat kernel.exe kernelf.exe 0x60 -S0x10 -S0x74 -E ..\utils\exeflat kernel.exe kernelf.exe 0x60 -S0x10 -S0x74 -E
if exist kernelf.exe $(XUPX) kernelf.exe $(COMSPEC) /c if exist kernelf.exe $(XUPX) kernelf.exe
if exist kernelf.sys $(XUPX) kernelf.sys $(COMSPEC) /c if exist kernelf.sys $(XUPX) kernelf.sys
..\utils\exeflat kernelf.exe kernel.sys 0x60 $(UPXOPT) ..\utils\exeflat kernelf.exe kernel.sys 0x60 $(UPXOPT)
-$(RM) kernelf.exe kernelf.sys -$(RM) kernelf.exe kernelf.sys

View File

@ -55,7 +55,7 @@ static BYTE *RcsId =
#endif #endif
#endif #endif
struct nlsInfoBlock nlsInfo = { struct nlsInfoBlock ASM nlsInfo = {
(char FAR *)0 /* filename to COUNTRY.SYS */ (char FAR *)0 /* filename to COUNTRY.SYS */
, 437 /* system code page */ , 437 /* system code page */
/* Implementation flags */ /* Implementation flags */