Googling for the original source file I found that:
// <o>ISR FIFO Queue
// <4=> 4 entries <8=> 8 entries <12=> 12 entries <16=> 16 entries
// <24=> 24 entries <32=> 32 entries <48=> 48 entries <64=> 64 entries
// <96=> 96 entries <128=> 128 entries <196=> 196 entries <256=> 256 entries
// <i> RTOS Functions called from ISR store requests to this buffer.
// <i> Default: 16 entries
#ifndef OS_ISR_FIFO_QUEUE
#define OS_ISR_FIFO_QUEUE 16
#endif
The purpose of this file is to set the associated module's configuration. So you can go and modify it directly without any issue.
Now, if your concern is about not getting into the ifdef/if because this define already exists, then you can undefine it (although it might not be the proper way to go):
#ifdef OS_ISR_FIFO_QUEUE
#undef OS_ISR_FIFO_QUEUE
#endif
#ifndef OS_ISR_FIFO_QUEUE
#define OS_ISR_FIFO_QUEUE 1234 // your value
#endif
Indeed, if the define already exists, you should rather look for the place it is defined and modify the value there.