Mercurial > gnulib
annotate lib/count-one-bits.c @ 40231:9b3c79fdfe0b
strtod: fix clash with strtold
Problem reported for RHEL 5 by Jesse Caldwell (Bug#34817).
* lib/strtod.c (compute_minus_zero, minus_zero):
Simplify by remving the macro / external variable,
and having just a function. User changed. This avoids
the need for an external variable that might clash.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 11 Mar 2019 16:40:29 -0700 |
parents | d78ea0b1af11 |
children |
rev | line source |
---|---|
17167
7178d4d98ee5
count-one-bits: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
1 #include <config.h> |
7178d4d98ee5
count-one-bits: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
2 #define COUNT_ONE_BITS_INLINE _GL_EXTERN_INLINE |
7178d4d98ee5
count-one-bits: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
3 #include "count-one-bits.h" |
17503
d78ea0b1af11
count-one-bits: port to MSC; support types wider than 64 bits
Paul Eggert <eggert@cs.ucla.edu>
parents:
17167
diff
changeset
|
4 |
d78ea0b1af11
count-one-bits: port to MSC; support types wider than 64 bits
Paul Eggert <eggert@cs.ucla.edu>
parents:
17167
diff
changeset
|
5 #if 1500 <= _MSC_VER && (defined _M_IX86 || defined _M_X64) |
d78ea0b1af11
count-one-bits: port to MSC; support types wider than 64 bits
Paul Eggert <eggert@cs.ucla.edu>
parents:
17167
diff
changeset
|
6 int popcount_support = -1; |
d78ea0b1af11
count-one-bits: port to MSC; support types wider than 64 bits
Paul Eggert <eggert@cs.ucla.edu>
parents:
17167
diff
changeset
|
7 #endif |