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