ports/devel/ti-msp430gcc/patches/patch-sources_tools_gcc_cppbuiltin_c

14 lines
557 B
Text

clang fix
Index: sources/tools/gcc/cppbuiltin.c
--- sources/tools/gcc/cppbuiltin.c.orig
+++ sources/tools/gcc/cppbuiltin.c
@@ -129,7 +129,7 @@ static void
define_builtin_macros_for_type_sizes (cpp_reader *pfile)
{
#define define_type_sizeof(NAME, TYPE) \
- cpp_define_formatted (pfile, NAME"="HOST_WIDE_INT_PRINT_DEC, \
+ cpp_define_formatted (pfile, NAME "=" HOST_WIDE_INT_PRINT_DEC, \
tree_to_uhwi (TYPE_SIZE_UNIT (TYPE)))
define_type_sizeof ("__SIZEOF_INT__", integer_type_node);