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>
|
#include <stdio.h>
|
||||||
|
|
||||||
typedef int BOOL;
|
typedef bool BOOL;
|
||||||
|
|
||||||
#ifndef FALSE
|
#define FALSE false
|
||||||
#define FALSE 0
|
#define TRUE true
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef TRUE
|
|
||||||
#define TRUE 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct RECT
|
struct RECT
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue