Skip to content

Commit 5f25231

Browse files
authored
Fix redefinition warning
1 parent cdd3ece commit 5f25231

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

patches/gcc/0001-gcc-8.patch

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
1515
index 9ee6a4eb5..b89f85655 100644
1616
--- a/gcc/config/arm/arm.h
1717
+++ b/gcc/config/arm/arm.h
18-
@@ -669,6 +670,9 @@ extern int arm_arch_cmse;
18+
@@ -669,6 +670,10 @@ extern int arm_arch_cmse;
1919
#define WCHAR_TYPE_SIZE BITS_PER_WORD
2020
#endif
2121

2222
+/* use int and unsigned int for int32_t and uint32_t */
23+
+#undef STDINT_LONG32
2324
+#define STDINT_LONG32 0
2425
+
2526
/* Sized for fixed-point types. */

0 commit comments

Comments
 (0)