Sebastian Huber
2018-07-20 04:55:57 UTC
Exotic RTEMS targets can define this back to int32_t as an exception if
there are good reasons.
Signed-off-by: Sebastian Huber <***@embedded-brains.de>
---
newlib/libc/sys/rtems/include/machine/_types.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/newlib/libc/sys/rtems/include/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h
index a3144e8fd..c61d6575d 100644
--- a/newlib/libc/sys/rtems/include/machine/_types.h
+++ b/newlib/libc/sys/rtems/include/machine/_types.h
@@ -12,11 +12,7 @@ typedef __int32_t __blksize_t;
typedef __uint64_t __dev_t;
#define __machine_dev_t_defined
-#if defined(__arm__) || defined(__i386__) || defined(__m68k__) || defined(__mips__) || defined(__PPC__) || defined(__sparc__)
typedef __int64_t _off_t;
-#else
-typedef __int32_t _off_t;
-#endif
#define __machine_off_t_defined
typedef _off_t _fpos_t;
there are good reasons.
Signed-off-by: Sebastian Huber <***@embedded-brains.de>
---
newlib/libc/sys/rtems/include/machine/_types.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/newlib/libc/sys/rtems/include/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h
index a3144e8fd..c61d6575d 100644
--- a/newlib/libc/sys/rtems/include/machine/_types.h
+++ b/newlib/libc/sys/rtems/include/machine/_types.h
@@ -12,11 +12,7 @@ typedef __int32_t __blksize_t;
typedef __uint64_t __dev_t;
#define __machine_dev_t_defined
-#if defined(__arm__) || defined(__i386__) || defined(__m68k__) || defined(__mips__) || defined(__PPC__) || defined(__sparc__)
typedef __int64_t _off_t;
-#else
-typedef __int32_t _off_t;
-#endif
#define __machine_off_t_defined
typedef _off_t _fpos_t;
--
2.13.7
2.13.7