summaryrefslogtreecommitdiff
path: root/src/include/pg_config.h.win32
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2011-06-17 18:22:03 -0400
committerAndrew Dunstan <andrew@dunslane.net>2011-06-17 18:22:03 -0400
commitddef31c15c663626fc1804467f4c2ce420598796 (patch)
treea774690d899a9a2805e3e3a94e326b9bcf11bbaf /src/include/pg_config.h.win32
parent68d977a73797a129913179010eea088f30e370b7 (diff)
downloadpostgresql-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/include/pg_config.h.win32')
-rw-r--r--src/include/pg_config.h.win322
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 */