Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitddef31c

Browse files
committed
Set FLEXIBLE_ARRAY_MEMBER to empty for MSVC.
Per gripe from Tom Lane. I have tested this with VC 2008, and assumeit will work with earlier versions.
1 parent68d977a commitddef31c

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)

[8]ページ先頭

©2009-2025 Movatter.jp