diff --git a/include/toolchain/xcc.h b/include/toolchain/xcc.h index 4c084edfde0..ed4030efd0f 100644 --- a/include/toolchain/xcc.h +++ b/include/toolchain/xcc.h @@ -18,6 +18,10 @@ #include +#ifndef UINT32_C +#define UINT32_C(x) x ## U +#endif + /* XCC doesn't support __COUNTER__ but this should be good enough */ #define __COUNTER__ __LINE__