File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 46
46
/* Define to the default TCP port number as a string constant. */
47
47
#define DEF_PGPORT_STR "5432"
48
48
49
+ /* Define to nothing if C supports flexible array members, and to 1 if it does
50
+ not. That way, with a declaration like `struct s { int n; double
51
+ d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
52
+ compilers. When computing the size of such an object, don't use 'sizeof
53
+ (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
54
+ instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
55
+ MSVC and with C++ compilers. */
56
+ #define FLEXIBLE_ARRAY_MEMBER 1
57
+
49
58
/* Define to 1 if you want National Language Support. (--enable-nls) */
50
59
/* #undef ENABLE_NLS */
51
60
You can’t perform that action at this time.
0 commit comments