Typedef BOOL to bool
Since we're not converting to C anymore, it should be fine to rely on this standard C++ type.
This commit is contained in:
parent
92e5647f11
commit
2b34cf7965
1 changed files with 3 additions and 8 deletions
|
@ -2,15 +2,10 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
typedef int BOOL;
|
||||
typedef bool BOOL;
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
#endif
|
||||
#define FALSE false
|
||||
#define TRUE true
|
||||
|
||||
struct RECT
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue