projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f03d56e
)
Define TRUE and FALSE for regression tests in case they aren't defined.
author
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Fri, 23 Jun 2023 02:37:02 +0000
(11:37 +0900)
committer
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Fri, 23 Jun 2023 02:37:02 +0000
(11:37 +0900)
test/src/common.h
patch
|
blob
|
blame
|
history
diff --git
a/test/src/common.h
b/test/src/common.h
index 1e275c055be15d0f0a4e0339d489eef71a1447ba..4de0a41b96007ac63bca485368b4882e61643290 100644
(file)
--- a/
test/src/common.h
+++ b/
test/src/common.h
@@
-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>