[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extern "C" for glob.h
From: |
Bruno Haible |
Subject: |
Re: extern "C" for glob.h |
Date: |
Fri, 8 Jan 2010 10:12:47 +0100 |
User-agent: |
KMail/1.9.9 |
Hi John,
John W. Eaton wrote:
> In glob.in.h, we have
> ...
>
> #ifndef __BEGIN_DECLS
> # define __BEGIN_DECLS
> # define __END_DECLS
> #endif
>
> If HAVE_SYS_CDEFS_H is 0, then __BEGIN_DECLS and __END_DECLS are
> likely undefined. To be C++ friendly, I think this should changed as
> in the attached patch.
Indeed.
I have applied your patch. Thanks.
Bruno