diff options
| author | Andrew Dunstan <andrew@dunslane.net> | 2011-06-17 18:22:03 -0400 |
|---|---|---|
| committer | Andrew Dunstan <andrew@dunslane.net> | 2011-06-17 18:22:03 -0400 |
| commit | ddef31c15c663626fc1804467f4c2ce420598796 (patch) | |
| tree | a774690d899a9a2805e3e3a94e326b9bcf11bbaf /src | |
| parent | 68d977a73797a129913179010eea088f30e370b7 (diff) | |
| download | postgresql-ddef31c15c663626fc1804467f4c2ce420598796.tar.gz | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/pg_config.h.win32 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index 5655916224..3c38aa0200 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -53,7 +53,7 @@ (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 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) */ /* #undef ENABLE_NLS */ |
