diff options
Diffstat (limited to 'irmp/irmpsystem.h')
-rw-r--r-- | irmp/irmpsystem.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/irmp/irmpsystem.h b/irmp/irmpsystem.h index 5a1a5dd..4b14952 100644 --- a/irmp/irmpsystem.h +++ b/irmp/irmpsystem.h @@ -17,6 +17,11 @@ # error please include only irmp.h or irsnd.h, not irmpsystem.h #endif +/* Workaround required when building with xtensa (cross-)toolchains. */ +#ifdef __xtensa__ +#undef __xtensa__ +#endif + #if defined(__18CXX) // Microchip PIC C18 compiler # define PIC_C18 #elif defined(__XC8) // PIC XC8 compiler |