fix #define false 1

This commit is contained in:
Michael Ossmann
2013-05-28 22:50:54 -06:00
parent b5f275abc5
commit 14257a0032
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@
#ifndef bool
typedef int bool;
#define true 1
#define false 1
#define false 0
#endif
#ifdef _MSC_VER

View File

@ -36,7 +36,7 @@
#ifndef bool
typedef int bool;
#define true 1
#define false 1
#define false 0
#endif
#ifdef _WIN32

View File

@ -31,7 +31,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSI
#ifndef bool
typedef int bool;
#define true 1
#define false 1
#define false 0
#endif
// TODO: Factor this into a shared #include so that firmware can use
// the same values.