dirfd: Fix compilation error in C++ mode on MacOS X, *BSD, IRIX.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Sep 2010 11:35:19 +0000 (13:35 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 4 Sep 2010 11:35:19 +0000 (13:35 +0200)
commita16c31d99cfb6eedd8d96e614a0cf8468145d5d3
tree62c6c5380a8dade02757301d558d64b15225d0b0
parente3834e1ce49d8e31b3e69a02ef59d77f2861b6b2
dirfd: Fix compilation error in C++ mode on MacOS X, *BSD, IRIX.

* lib/dirent.in.h (dirfd): In C++ mode with GNULIB_NAMESPACE, turn the
macro into a function.
Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
ChangeLog
lib/dirent.in.h