fix #define false 1
This commit is contained in:
@ -32,7 +32,7 @@
|
|||||||
#ifndef bool
|
#ifndef bool
|
||||||
typedef int bool;
|
typedef int bool;
|
||||||
#define true 1
|
#define true 1
|
||||||
#define false 1
|
#define false 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
#ifndef bool
|
#ifndef bool
|
||||||
typedef int bool;
|
typedef int bool;
|
||||||
#define true 1
|
#define true 1
|
||||||
#define false 1
|
#define false 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
@ -31,7 +31,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSI
|
|||||||
#ifndef bool
|
#ifndef bool
|
||||||
typedef int bool;
|
typedef int bool;
|
||||||
#define true 1
|
#define true 1
|
||||||
#define false 1
|
#define false 0
|
||||||
#endif
|
#endif
|
||||||
// TODO: Factor this into a shared #include so that firmware can use
|
// TODO: Factor this into a shared #include so that firmware can use
|
||||||
// the same values.
|
// the same values.
|
||||||
|
Reference in New Issue
Block a user