Re: SPI-header-files safe for C++-compiler

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Jacob Rief <jacob(dot)rief(at)gmx(dot)at>, pgsql-patches(at)postgresql(dot)org
Subject: Re: SPI-header-files safe for C++-compiler
Date: 2007-06-28 00:51:05
Message-ID: 468305F9.30907@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2007-06-28 00:54:47 Re: SPI-header-files safe for C++-compiler
Previous Message Neil Conway 2007-06-28 00:37:46 Re: SPI-header-files safe for C++-compiler