pgsql: Define FLEXIBLE_ARRAY_MEMBER for MSVC.

Started by Andrew Dunstanabout 15 years ago3 messagescomitters
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

Define FLEXIBLE_ARRAY_MEMBER for MSVC.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/236a11dc65906cc200bce4e6db26d20b299cd1b0

Modified Files
--------------
src/include/pg_config.h.win32 | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andrew Dunstan (#1)
Re: pgsql: Define FLEXIBLE_ARRAY_MEMBER for MSVC.

Andrew Dunstan <andrew@dunslane.net> writes:

Define FLEXIBLE_ARRAY_MEMBER for MSVC.

I just noticed that you set the value to 1 not empty.
Surely MSVC is modern enough to have this feature?

regards, tom lane

#3Andrew Dunstan
andrew@dunslane.net
In reply to: Tom Lane (#2)
Re: pgsql: Define FLEXIBLE_ARRAY_MEMBER for MSVC.

On 06/17/2011 05:40 PM, Tom Lane wrote:

Andrew Dunstan<andrew@dunslane.net> writes:

Define FLEXIBLE_ARRAY_MEMBER for MSVC.

I just noticed that you set the value to 1 not empty.
Surely MSVC is modern enough to have this feature?

Maybe. I'll check.

cheers

andrew