Define TRUE and FALSE for regression tests in case they aren't defined.
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Fri, 23 Jun 2023 02:37:02 +0000 (11:37 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Fri, 23 Jun 2023 02:37:02 +0000 (11:37 +0900)
test/src/common.h

index 1e275c055be15d0f0a4e0339d489eef71a1447ba..4de0a41b96007ac63bca485368b4882e61643290 100644 (file)
@@ -6,6 +6,12 @@
 #include <windows.h>
 #else
 #include "config.h"
+#ifndef TRUE
+#define TRUE    (BOOL)1
+#endif /* TRUE */
+#ifndef FALSE
+#define FALSE   (BOOL)0
+#endif /* FALSE */
 #endif
 
 #include <sql.h>