diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-02-22 10:33:14 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-02-22 10:33:45 -0800 |
commit | c87a165040864919ae5ae23b97935300fa4ad119 (patch) | |
tree | a54a49e4692d44e44c48afdee48b8c57739e40ef /lib/count-one-bits.h | |
parent | 202c3319a28c029d6971dccea92f92425c5e8067 (diff) | |
download | emacs-c87a165040864919ae5ae23b97935300fa4ad119.tar.gz emacs-c87a165040864919ae5ae23b97935300fa4ad119.tar.bz2 emacs-c87a165040864919ae5ae23b97935300fa4ad119.zip |
Update from Gnulib
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.
Diffstat (limited to 'lib/count-one-bits.h')
-rw-r--r-- | lib/count-one-bits.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/count-one-bits.h b/lib/count-one-bits.h index 78770e4240d..eea56d85910 100644 --- a/lib/count-one-bits.h +++ b/lib/count-one-bits.h @@ -30,6 +30,10 @@ _GL_INLINE_HEADER_BEGIN # define COUNT_ONE_BITS_INLINE _GL_INLINE #endif +#ifdef __cplusplus +extern "C" { +#endif + /* Expand to code that computes the number of 1-bits of the local variable 'x' of type TYPE (an unsigned integer type) and return it from the current function. */ @@ -129,6 +133,10 @@ count_one_bits_ll (unsigned long long int x) COUNT_ONE_BITS (__builtin_popcountll, __popcnt64, unsigned long long int); } +#ifdef __cplusplus +} +#endif + _GL_INLINE_HEADER_END #endif /* COUNT_ONE_BITS_H */ |