Content-Length: 256344 | pFad | http://github.com/postgrespro/postgres/commit/ddef31c15c663626fc1804467f4c2ce420598796

49 Set FLEXIBLE_ARRAY_MEMBER to empty for MSVC. · postgrespro/postgres@ddef31c · GitHub
Skip to content

Commit ddef31c

Browse files
committed
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.
1 parent 68d977a commit ddef31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/pg_config.h.win32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
(struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
5454
instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
5555
MSVC and with C++ compilers. */
56-
#define FLEXIBLE_ARRAY_MEMBER 1
56+
#define FLEXIBLE_ARRAY_MEMBER
5757

5858
/* Define to 1 if you want National Language Support. (--enable-nls) */
5959
/* #undef ENABLE_NLS */

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/ddef31c15c663626fc1804467f4c2ce420598796

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy