mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Set FLEXIBLE_ARRAY_MEMBER to empty for MSVC.
Per gripe from Tom Lane. I have tested this with VC 2008, and assume it will work with earlier versions.
This commit is contained in:
parent
68d977a737
commit
ddef31c15c
@ -53,7 +53,7 @@
|
|||||||
(struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
|
(struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
|
||||||
instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
|
instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
|
||||||
MSVC and with C++ compilers. */
|
MSVC and with C++ compilers. */
|
||||||
#define FLEXIBLE_ARRAY_MEMBER 1
|
#define FLEXIBLE_ARRAY_MEMBER
|
||||||
|
|
||||||
/* Define to 1 if you want National Language Support. (--enable-nls) */
|
/* Define to 1 if you want National Language Support. (--enable-nls) */
|
||||||
/* #undef ENABLE_NLS */
|
/* #undef ENABLE_NLS */
|
||||||
|
Loading…
Reference in New Issue
Block a user