See ChangeLog entry 2000-10-25 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
2000-10-25 19:02:23 +00:00
parent 4bb02937e2
commit 7be63457b5
2 changed files with 10 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2000-10-25 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com>
* source/pp/ppcore.c
! Neither Cygwin nor IBM VAC++ supports sys_errlist.
2000-10-25 13:45 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
* source/pp/ppcore.c
* fixed problem, reported by John Skelton

View File

@@ -443,7 +443,13 @@ int hb_pp_ParseDirective( char * sLine )
if( errno == 0 || errno == EMFILE )
hb_compGenError( hb_pp_szErrors, 'F', HB_PP_ERR_TOO_MANY_INCLUDES, sLine, NULL );
else
{
#if defined(__CYGWIN__) || defined(__IBMCPP__)
hb_compGenError( hb_pp_szErrors, 'F', HB_PP_ERR_CANNOT_OPEN, sLine, "" );
#else
hb_compGenError( hb_pp_szErrors, 'F', HB_PP_ERR_CANNOT_OPEN, sLine, sys_errlist[ errno ] );
#endif
}
}
}