aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rtems.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rtems.h')
-rw-r--r--gcc/config/rtems.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/rtems.h b/gcc/config/rtems.h
index 439199d4cbb..35026efa2c7 100644
--- a/gcc/config/rtems.h
+++ b/gcc/config/rtems.h
@@ -48,3 +48,7 @@
-latomic -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}}"
#define TARGET_POSIX_IO
+
+/* Prefer int for int32_t (see stdint-newlib.h). */
+#undef STDINT_LONG32
+#define STDINT_LONG32 (INT_TYPE_SIZE != 32 && LONG_TYPE_SIZE == 32)