Use bool/stdbool.h instead of local (non-POSIX compliant) "bool".

This commit is contained in:
Ralf Corsepius
2008-08-27 21:38:42 +00:00
parent a5554d28b6
commit 478533e034

View File

@@ -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);