From bed44e65ec76d1a1c2effd98a294d102120ba4db Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Oct 2013 07:23:16 -0700 Subject: [PATCH] Only define TRUE and FALSE if they aren't defined already We did this for some situations but not for all. Signed-off-by: Dirk Hohndel --- dive.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dive.h b/dive.h index 8657ffe13..aec59f6f9 100644 --- a/dive.h +++ b/dive.h @@ -29,8 +29,12 @@ extern "C" { #else #if __STDC_VERSION__ >= 199901L #include +#ifndef TRUE #define TRUE true +#endif +#ifndef FALSE #define FALSE false +#endif #else typedef int bool; #ifndef TRUE