File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ diff --git a/src/include/c.h b/src/include/c.h
2+ index f69d739be57..3aacbbc405e 100644
3+ --- a/src/include/c.h
4+ +++ b/src/include/c.h
5+ @@ -430,26 +430,26 @@ typedef void (*pg_funcptr_t) (void);
6+ * See also the version of this code in src/interfaces/ecpg/include/ecpglib.h.
7+ */
8+
9+ - #ifndef __cplusplus
10+ + //#ifndef __cplusplus
11+
12+ - #ifdef PG_USE_STDBOOL
13+ + //#ifdef PG_USE_STDBOOL
14+ #include <stdbool.h>
15+ - #else
16+ + //#else
17+
18+ - #ifndef bool
19+ - typedef unsigned char bool;
20+ - #endif
21+ + //#ifndef bool
22+ + //typedef unsigned char bool;
23+ + //#endif
24+
25+ - #ifndef true
26+ - #define true ((bool) 1)
27+ - #endif
28+ + //#ifndef true
29+ + //#define true ((bool) 1)
30+ + //#endif
31+
32+ - #ifndef false
33+ - #define false ((bool) 0)
34+ - #endif
35+ + //#ifndef false
36+ + //#define false ((bool) 0)
37+ + //#endif
38+
39+ - #endif /* not PG_USE_STDBOOL */
40+ - #endif /* not C++ */
41+ + //#endif /* not PG_USE_STDBOOL */
42+ + //#endif /* not C++ */
43+
44+
45+ /* ----------------------------------------------------------------
146diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
247index 60d34a40b20..6a1eea9c266 100644
348--- a/src/test/regress/pg_regress.c
You can’t perform that action at this time.
0 commit comments