[PATCH 6/7] Avoid conflicting type definitions for RTEMS
Sebastian Huber
sebastian.huber@embedded-brains.de
Tue Oct 8 12:54:00 GMT 2013
newlib/ChangeLog
2013-10-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libc/sys/rtems/machine/_types.h (_HAVE_SYSTYPES): Define.
---
newlib/libc/sys/rtems/machine/_types.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/newlib/libc/sys/rtems/machine/_types.h b/newlib/libc/sys/rtems/machine/_types.h
index e0d93f7..1711c7a 100644
--- a/newlib/libc/sys/rtems/machine/_types.h
+++ b/newlib/libc/sys/rtems/machine/_types.h
@@ -5,6 +5,9 @@
#ifndef _MACHINE__TYPES_H
#define _MACHINE__TYPES_H
+/* This disables some conflicting type definitions in <machine/types.h> */
+#define _HAVE_SYSTYPES
+
#include <machine/_default_types.h>
typedef __int32_t blksize_t;
--
1.7.7
More information about the Newlib
mailing list