mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Switching to C99 stdint.h types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2340 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+4
-2
@@ -43,6 +43,8 @@
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/compiler.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
@@ -62,10 +64,10 @@
|
||||
****************************************************************************/
|
||||
|
||||
/* A byte is the smallest address memory element (at least in architectures
|
||||
* that do not support bit banding. We select ubyte versus the more standard
|
||||
* that do not support bit banding. We select uint8_t versus the more standard
|
||||
* int as the underlying type to minimize the RAM footprint of the executable.
|
||||
*/
|
||||
|
||||
typedef ubyte _Bool;
|
||||
typedef uint8_t _Bool;
|
||||
|
||||
#endif /* __INCLUDE_STDBOOL_H */
|
||||
|
||||
Reference in New Issue
Block a user