Re: SPI-header-files safe for C++-compiler - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: SPI-header-files safe for C++-compiler
Date
Msg-id 468305F9.30907@dunslane.net
Whole thread Raw
In response to Re: SPI-header-files safe for C++-compiler  (Neil Conway <neilc@samurai.com>)
Responses Re: SPI-header-files safe for C++-compiler
List pgsql-patches

Neil Conway wrote:
>
> BTW, I notice the patch also adds 'extern "C" { ... }' statements to a
> few random header files. Can't client programs do this before including
> the headers, if necessary?
>
>
>

He's used the usual "#ifdef __cplusplus" wrapper - isn't that good enough?

cheers

andrew

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: SPI-header-files safe for C++-compiler
Next
From: Neil Conway
Date:
Subject: Re: SPI-header-files safe for C++-compiler