forked from Imagelibrary/rtems
Use bool/stdbool.h instead of local (non-POSIX compliant) "bool".
This commit is contained in:
@@ -122,12 +122,8 @@ typedef struct touchPosition {
|
|||||||
} touchPosition;
|
} touchPosition;
|
||||||
|
|
||||||
|
|
||||||
#ifndef __cplusplus
|
/** C++ compatible bool for C */
|
||||||
/** C++ compatible bool for C
|
#include <stdbool.h>
|
||||||
|
|
||||||
*/
|
|
||||||
typedef enum { false, true } bool;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Handy function pointer typedefs
|
// Handy function pointer typedefs
|
||||||
typedef void ( * IntFn)(void);
|
typedef void ( * IntFn)(void);
|
||||||
|
|||||||
Reference in New Issue
Block a user