Mercurial > hg > octave-nkf > gnulib-hg
changeset 17863:9ace8922f68f
count-leading-zeros: fix pragma typos
* lib/count-leading-zeros.h (_BitScanReverse, _BitScanReverse64):
Fix typos in declaration of intrinsics when _MSC_VER.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 06 Jan 2015 08:50:04 -0800 |
parents | 64996cee8e90 |
children | 82be015ff2aa |
files | ChangeLog lib/count-leading-zeros.h |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-01-06 Paul Eggert <eggert@cs.ucla.edu> + + count-leading-zeros: fix pragma typos + * lib/count-leading-zeros.h (_BitScanReverse, _BitScanReverse64): + Fix typos in declaration of intrinsics when _MSC_VER. + 2015-01-06 Pádraig Brady <P@draigBrady.com> count-leading-zeros: avoid 64-bit intrinsics on 32-bit Windows
--- a/lib/count-leading-zeros.h +++ b/lib/count-leading-zeros.h @@ -38,8 +38,8 @@ # define COUNT_LEADING_ZEROS(BUILTIN, MSC_BUILTIN, TYPE) \ return x ? BUILTIN (x) : CHAR_BIT * sizeof x; #elif _MSC_VER -# pragma intrinsic _BitReverse -# pragma intrinsic _BitReverse64 +# pragma intrinsic _BitScanReverse +# pragma intrinsic _BitScanReverse64 # define COUNT_LEADING_ZEROS(BUILTIN, MSC_BUILTIN, TYPE) \ do \ { \