From c87a165040864919ae5ae23b97935300fa4ad119 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 22 Feb 2020 10:33:14 -0800 Subject: Update from Gnulib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This incorporates: 2020-02-21 largefile: remove _DARWIN_USE_64_BIT_INODE 2020-02-21 Add ‘extern "C"’ to count-one-bits.h etc. * lib/count-leading-zeros.h, lib/count-one-bits.h: * lib/count-trailing-zeros.h, m4/largefile.m4: Copy from Gnulib. --- lib/count-trailing-zeros.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/count-trailing-zeros.h') diff --git a/lib/count-trailing-zeros.h b/lib/count-trailing-zeros.h index 2169f626251..1eb5fb919f4 100644 --- a/lib/count-trailing-zeros.h +++ b/lib/count-trailing-zeros.h @@ -30,6 +30,10 @@ _GL_INLINE_HEADER_BEGIN # define COUNT_TRAILING_ZEROS_INLINE _GL_INLINE #endif +#ifdef __cplusplus +extern "C" { +#endif + /* Assuming the GCC builtin is BUILTIN and the MSC builtin is MSC_BUILTIN, expand to code that computes the number of trailing zeros of the local variable 'x' of type TYPE (an unsigned integer type) and return it @@ -100,6 +104,10 @@ count_trailing_zeros_ll (unsigned long long int x) unsigned long long int); } +#ifdef __cplusplus +} +#endif + _GL_INLINE_HEADER_END #endif -- cgit v1.2.3