diff options
Diffstat (limited to 'lib/count-trailing-zeros.h')
-rw-r--r-- | lib/count-trailing-zeros.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |