From 3a2fc00abf104928599d7fa028f7efcc8b3a4dd5 Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Fri, 23 Jun 2023 11:37:02 +0900 Subject: [PATCH] Define TRUE and FALSE for regression tests in case they aren't defined. --- test/src/common.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/src/common.h b/test/src/common.h index 1e275c0..4de0a41 100644 --- a/test/src/common.h +++ b/test/src/common.h @@ -6,6 +6,12 @@ #include #else #include "config.h" +#ifndef TRUE +#define TRUE (BOOL)1 +#endif /* TRUE */ +#ifndef FALSE +#define FALSE (BOOL)0 +#endif /* FALSE */ #endif #include -- 2.39.5