mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
Clean-up from big switch to stdint/stdbool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2362 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+10
-4
@@ -43,16 +43,22 @@
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/compiler.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#ifndef __ASSEMBLY__
|
||||
# include <stdint.h>
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Alternative alues for type bool (for historic reasons) */
|
||||
/* Alternative values for type bool (for historic reasons) */
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
#ifndef TRUE
|
||||
# define TRUE 1
|
||||
#endif
|
||||
#ifndef FALSE
|
||||
# define FALSE 0
|
||||
#endif
|
||||
|
||||
/* NULL is usually defined in stddef.h (which includes this file) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user