summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-13 15:15:28 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-13 15:15:28 +0000
commita5777f043d742b107d5aaaf9cb92249c11ae859b (patch)
treee8c83e1a0300b87f122cddf27541643010d819fb /cpukit/libcsupport/include
parent2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-a5777f043d742b107d5aaaf9cb92249c11ae859b.tar.bz2
2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Rework stdint.h/inttypes.h support. Add RTEMS_USES_STDINT_H. Add RTEMS_USES_INTTYPES_H. Remove NEED_STDINT_H. Remove NEED_INTTYPES_H. Remove termios-flag detection. * libcsupport/Makefile.am: Install include/stdint.h and include/inttypes.h for NEWLIB only. * libcsupport/include/stdint.h: Rework; Now newlib specific. * libcsupport/src/termios.c: Make newlib specific. * include/rtems/stdint.h: Rework; Now wrapper to <stdint.h>.
Diffstat (limited to 'cpukit/libcsupport/include')
-rw-r--r--cpukit/libcsupport/include/stdint.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/cpukit/libcsupport/include/stdint.h b/cpukit/libcsupport/include/stdint.h
index 6dbfd44c0f..f31032b625 100644
--- a/cpukit/libcsupport/include/stdint.h
+++ b/cpukit/libcsupport/include/stdint.h
@@ -13,7 +13,20 @@
extern "C" {
#endif
-#include <rtems/stdint.h>
+#include <rtems/score/types.h>
+
+/*
+ * map RTEMS internal types onto C99 types
+ */
+typedef signed8 int8_t;
+typedef signed16 int16_t;
+typedef signed32 int32_t;
+typedef signed64 int64_t;
+
+typedef unsigned8 uint8_t;
+typedef unsigned16 uint16_t;
+typedef unsigned32 uint32_t;
+typedef unsigned64 uint64_t;
#ifdef __cplusplus
}