From: Tony v. d. H. <to...@us...> - 2005-12-31 12:06:51
|
Update of /cvsroot/ro-oslib/OSLib/!OsLib/OSLibSupport/X_ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9935/!OsLib/OSLibSupport/X_ Modified Files: X.c Log Message: Changes to facilitate GCCSDK autobuilder support. (20051231-1 John Tytgat) Index: X.c =================================================================== RCS file: /cvsroot/ro-oslib/OSLib/!OsLib/OSLibSupport/X_/X.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** X.c 29 Dec 2003 11:40:17 -0000 1.4 --- X.c 31 Dec 2005 12:06:31 -0000 1.5 *************** *** 1,6 **** /**************************************************************** ! ** Title : SupportLib.c.x.c.x ** ! ** Purpose: RiscOs Exception Handling ** ** Copyright: ©OSLib --- 1,6 ---- /**************************************************************** ! ** Title : OSLibSupport.X_.c.X ** ! ** Purpose: RISC OS Exception Handling ** ** Copyright: ©OSLib *************** *** 119,123 **** ! static int Signals [] = { SIGINT, SIGSTAK, SIGOSERROR }; --- 119,132 ---- ! /* we assume SIGINT is always defined. */ ! static const int Signals [] = { ! #ifdef SIGSTAK ! SIGSTAK, ! #endif ! #ifdef SIGOSERROR ! SIGOSERROR, ! #endif ! SIGINT ! }; *************** *** 192,202 **** --- 201,215 ---- break; + #ifdef SIGSTAK case SIGSTAK: error = Copy_Error (Error_Stack); break; + #endif + #ifdef SIGOSERROR case SIGOSERROR: error = x__last_error (); break; + #endif } *************** *** 271,281 **** --- 284,298 ---- break; + #ifdef SIGSTAK case SIGSTAK: pxError = Copy_Error( Error_Stack ); break; + #endif + #ifdef SIGOSERROR case SIGOSERROR: pxError = x__last_error(); break; + #endif } |