diff --git a/kernel/config.c b/kernel/config.c index 0581ba8..3c9d092 100644 --- a/kernel/config.c +++ b/kernel/config.c @@ -159,9 +159,9 @@ STATIC BYTE szBuf[256] BSS_INIT({0}); struct CfgFile { COUNT nFileDesc; COUNT nCfgLine; -} cfgFile[MAX_CHAINS]; -COUNT nCurChain = 0; -COUNT nFileDesc; +} cfgFile[MAX_CHAINS] BSS_INIT({0}); +COUNT nCurChain BSS_INIT(0); +COUNT nFileDesc BSS_INIT(0); BYTE singleStep BSS_INIT(FALSE); /* F8 processing */ BYTE SkipAllConfig BSS_INIT(FALSE); /* F5 processing */ diff --git a/mkfiles/mscl8.mak b/mkfiles/mscl8.mak index cd5c53b..1dff142 100644 --- a/mkfiles/mscl8.mak +++ b/mkfiles/mscl8.mak @@ -23,8 +23,8 @@ LIB=$(COMPILERPATH)\lib # used for building the library CLIB=$(COMPILERPATH)\lib\slibce.lib -MATH_EXTRACT=*aflmul *aFlshl *aFNauldi *aFulrem *aFulshr *aFuldiv *aFlrem *aFldiv -MATH_INSERT= +aflmul +aFlshl +aFNauldi +aFulrem +aFulshr +aFuldiv +aFlrem +aFldiv +MATH_EXTRACT=*aflmul *aFlshl *aFNaulsh *aFNauldi *aFulrem *aFulshr *aFuldiv *aFlrem *aFldiv +MATH_INSERT= +aflmul +aFlshl +aFNaulsh +aFNauldi +aFulrem +aFulshr +aFuldiv +aFlrem +aFldiv TARGETOPT= !if $(XCPU) == 186 diff --git a/sys/fdkrncfg.c b/sys/fdkrncfg.c index 9ef084a..0aa421c 100644 --- a/sys/fdkrncfg.c +++ b/sys/fdkrncfg.c @@ -46,6 +46,9 @@ unsigned long lseek(int fildes, unsigned long offset, int whence); #else #include +#ifndef SEEK_SET +#define SEEK_SET 0 +#endif /* #include */ #endif