HI folks-
I'm in the middle of porting a C source code package that has two non-standard C constructs.
The first is:
if ( isr_dsc->id in[VALID_RANGE] ) { /* CONFIGURE INTERUPT */ rc = OAL_SUCCESS; }
That comes from an interrupt handler install function.
The second is:
#define PSP_ [PROC] _[BOARD] _[RTOS] _[COMPILER]
That comes from a library build configuration header file.
Maybe I can craft some alternative code if I could look up what the design intent is. I will have no access to the code author for a few days (maybe never). Has anyone ever seen these kinds of things and know what C compiler might accept them?
Thanks - JJS