ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/keyboard.C
(Generate patch)

Comparing rxvt-unicode/src/keyboard.C (file contents):
Revision 1.16 by root, Fri Apr 22 02:09:39 2005 UTC vs.
Revision 1.17 by root, Mon Nov 28 19:35:04 2005 UTC

115} 115}
116 116
117//////////////////////////////////////////////////////////////////////////////// 117////////////////////////////////////////////////////////////////////////////////
118// return: #bits of '1' 118// return: #bits of '1'
119#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3) 119#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)
120# define bitcount(n) (__extension__ ({ uint32_t n__ = (n); __builtin_popcount (n); })) 120# define bitcount(n) (__extension__ ({ uint32_t n__ = (n); __builtin_popcount (n__); }))
121#else 121#else
122static int 122static int
123bitcount (uint16_t n) 123bitcount (uint16_t n)
124{ 124{
125 int i; 125 int i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines