diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-03-16 15:16:27 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-03-16 15:20:45 -0700 |
commit | 473c3ef32563ec57aeb0e204e2b0662fe80d2c18 (patch) | |
tree | f64aee621779aa11d8b26e33a6c2af92263a8f46 /sysdeps | |
parent | eb0f39b6b770a421ed297bd625b1875a0f7fbaad (diff) | |
download | glibc-473c3ef32563ec57aeb0e204e2b0662fe80d2c18.tar glibc-473c3ef32563ec57aeb0e204e2b0662fe80d2c18.tar.gz glibc-473c3ef32563ec57aeb0e204e2b0662fe80d2c18.tar.bz2 glibc-473c3ef32563ec57aeb0e204e2b0662fe80d2c18.zip |
Define x86-64 ffsl alias only if __LP64__ is defined
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86_64/ffsll.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/x86_64/ffsll.c b/sysdeps/x86_64/ffsll.c index 2808770868..a7a5dc8583 100644 --- a/sysdeps/x86_64/ffsll.c +++ b/sysdeps/x86_64/ffsll.c @@ -1,7 +1,7 @@ /* ffsll -- find first set bit in a word, counted from least significant end. For AMD x86-64. This file is part of the GNU C Library. - Copyright (C) 1991,92,93,94,97,98,2001 Free Software Foundation, Inc. + Copyright (C) 1991-2012 Free Software Foundation, Inc. Contributed by Ulrich Drepper <drepper@cygnus.com>. The GNU C Library is free software; you can redistribute it and/or @@ -36,5 +36,7 @@ ffsll (long long int x) return cnt + 1; } +#ifdef __LP64__ #undef ffsl weak_alias (ffsll, ffsl) +#endif |