diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-04-16 13:23:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-04-16 13:23:40 +0000 |
commit | 485e80fa0316b6f9dec52d2653ee9a92776cacc5 (patch) | |
tree | 76d8b96b648ab5c635feb73527f19934288d180c /cpukit/libcsupport/include/stdint.h | |
parent | 2002-04-12 Chris Johns <ccj@acm.org> (diff) | |
download | rtems-485e80fa0316b6f9dec52d2653ee9a92776cacc5.tar.bz2 |
2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Add stdint.h and inttypes.h.
(reported by Mike Siers <mikes@poliac.com>)
* include/stdint.h: New file.
* include/inttypes.h: New file.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/include/stdint.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/stdint.h b/cpukit/libcsupport/include/stdint.h new file mode 100644 index 0000000000..dd2e490ef9 --- /dev/null +++ b/cpukit/libcsupport/include/stdint.h @@ -0,0 +1,30 @@ +/* + * stdint.h + * + * ISO C99 integer types + * + * $Id$ + */ + +#ifndef __STDINT_H +#define __STDINT_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef signed char int8_t; +typedef short int int16_t; +typedef int int32_t; +typedef long int int64_t; + +typedef unsigned char uint8_t; +typedef unsigned short int uint16_t; +typedef unsigned int uint32_t; +typedef unsigned long int uint64_t; + +#ifdef __cplusplus +} +#endif + +#endif |