X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=irmp%2Firmpsystem.h;h=4b1495284969a29d33228991127710ca25a80d68;hb=01416b9810ceb759e3088bad174d89621704a210;hp=5a1a5dde5add365a2df8a5d6467e031bde5ecab7;hpb=6ea75aa1044ef59ee9074f04f0129a3b66c9a491;p=libsigrokdecode.git 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