From: Sebastien Bourdeauducq Date: Thu, 10 Jan 2013 16:58:17 +0000 (+0100) Subject: software/include/base/stdint.h: add INT32_C X-Git-Tag: 24jan2021_ls180~3057 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d576893bdaffe858501fcf6b9f3e335d3d1c5273;p=litex.git software/include/base/stdint.h: add INT32_C --- diff --git a/software/include/base/stdint.h b/software/include/base/stdint.h index 029aeb29..89f8af38 100644 --- a/software/include/base/stdint.h +++ b/software/include/base/stdint.h @@ -19,5 +19,7 @@ typedef char int8_t; #define INT64_C(v) __int_c(v, LL) #define UINT64_C(v) __uint_c(v, LL) +#define INT32_C(v) v +#define UINT32_C(v) v##U #endif /* __STDINT_H */