This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 6/7] Avoid conflicting type definitions for RTEMS


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]