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;
|
||||
|
||||
|
||||
#ifndef __cplusplus
|
||||
/** C++ compatible bool for C
|
||||
|
||||
*/
|
||||
typedef enum { false, true } bool;
|
||||
#endif
|
||||
/** C++ compatible bool for C */
|
||||
#include <stdbool.h>
|
||||
|
||||
// Handy function pointer typedefs
|
||||
typedef void ( * IntFn)(void);
|
||||
|
||||
Reference in New Issue
Block a user