Index: firmware/export/system.h =================================================================== --- firmware/export/system.h (revision 19355) +++ firmware/export/system.h (working copy) @@ -107,6 +107,31 @@ int get_cpu_boost_counter(void); #define ALIGN_DOWN(n, a) ((n)/(a)*(a)) #define ALIGN_UP(n, a) ALIGN_DOWN((n)+((a)-1),a) +#ifdef letoh16 +#undef letoh16 +#endif +#ifdef letoh32 +#undef letoh32 +#endif +#ifdef htole16 +#undef htole16 +#endif +#ifdef htole32 +#undef htole32 +#endif +#ifdef betoh16 +#undef betoh16 +#endif +#ifdef betoh32 +#undef betoh32 +#endif +#ifdef htobe16 +#undef htobe16 +#endif +#ifdef htobe32 +#undef htobe32 +#endif + /* live endianness conversion */ #ifdef ROCKBOX_LITTLE_ENDIAN #define letoh16(x) (x)