Re: filemode with C++

2011-01-14 Thread Jim Meyering
Bruno Haible wrote: > Hi John, > >> I'd like to use the filemode module in a C++ file but found that it >> does not have extern "C" magic. I started to submit a patch, but >> stopped when I saw that filemode.h has >> >> # if HAVE_DECL_STRMODE >> # include /* FreeBSD, OpenBSD */ >> # incl

Re: filemode with C++

2011-01-13 Thread Bruno Haible
Hi John, > I'd like to use the filemode module in a C++ file but found that it > does not have extern "C" magic. I started to submit a patch, but > stopped when I saw that filemode.h has > > # if HAVE_DECL_STRMODE > # include /* FreeBSD, OpenBSD */ > # include /* NetBSD */ > # else >