2006-02-22 15:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/compiler/harbour.c
  * harbour/source/rtl/gtdos/gtdos.c
    * fixed casting and typos for DOS OpenWatcom compilation
This commit is contained in:
Przemyslaw Czerpak
2006-02-23 01:17:57 +00:00
parent 34d4910f42
commit 332b8b445c
3 changed files with 10 additions and 5 deletions

View File

@@ -8,6 +8,11 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
* fixed <-x-> match marker
* added fixed length of command/translate/define name to
speed translation
* source/compiler/harbour.l
* fixed GPF in handling of '&macro.tekst' syntax
(introduced recently)

View File

@@ -5047,7 +5047,7 @@ static void hb_compCompileEnd( void )
{
hb_compParserStop(); /* uses hb_comp_files.pLast */
}
hb_comp_files.pLast = pFile->pPrev;
hb_comp_files.pLast = ( PFILE ) pFile->pPrev;
hb_xfree( pFile );
}
hb_comp_files.pLast = NULL;

View File

@@ -167,7 +167,7 @@ static int kbhit( void )
#if !defined(__DJGPP__) && !defined(__RSX32__)
#if defined(__WATCOMC__) || defined(_MSC_VER)
static void hb_gt_CtrlBreak_Handler( int iSignal )
static void hb_gt_dos_CtrlBreak_Handler( int iSignal )
{
/* Ctrl-Break was pressed */
/* NOTE: the layout of this function is forced by the compiler
@@ -1189,7 +1189,7 @@ static void vmode50x80( void )
* FFh unknown display type
****************************************************************************/
static USHORT hb_gt_GetDisplay( void )
static USHORT hb_gt_dos_GetDisplay( void )
{
union REGS regs;
@@ -1206,7 +1206,7 @@ static BOOL hb_gt_dos_SetMode( int iRows, int iCols )
HB_TRACE( HB_TR_DEBUG, ("hb_gt_dos_SetMode(%d, %d)", iRows, iCols) );
bIsVGA = ( hb_gt_GetDisplay() == 8 );
bIsVGA = ( hb_gt_dos_GetDisplay() == 8 );
bIsVesa = FALSE;
/* Available modes in B&N and color screens */
@@ -1241,7 +1241,7 @@ static BOOL hb_gt_dos_SetMode( int iRows, int iCols )
if( iCols > 80 && bIsVesa )
{
/* In development process
* return( hb_gt_Modevesa( nMode) );
* return( hb_gt_dos_Modevesa( nMode) );
*/
}
}