projects
/
users
/
kgrittn
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d977a
)
Set FLEXIBLE_ARRAY_MEMBER to empty for MSVC.
author
Andrew Dunstan
<andrew@dunslane.net>
Fri, 17 Jun 2011 22:22:03 +0000
(18:22 -0400)
committer
Andrew Dunstan
<andrew@dunslane.net>
Fri, 17 Jun 2011 22:22:03 +0000
(18:22 -0400)
Per gripe from Tom Lane. I have tested this with VC 2008, and assume
it will work with earlier versions.
src/include/pg_config.h.win32
patch
|
blob
|
blame
|
history
diff --git
a/src/include/pg_config.h.win32
b/src/include/pg_config.h.win32
index 56559162240acccd6366fa04b6406a4201fce4d4..3c38aa020045bd3e251d474f1531aec1e876e866 100644
(file)
--- 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 */