1 #ifndef RADV_UTIL_H 2 #define RADV_UTIL_H 3 4 #ifdef HAVE___BUILTIN_POPCOUNT 5 #define util_bitcount(i) __builtin_popcount(i) 6 #else 7 extern unsigned int 8 util_bitcount(unsigned int n); 9 #endif 10 11 #endif /* RADV_UTIL_H */ 12
1 #ifndef RADV_UTIL_H 2 #define RADV_UTIL_H 3 4 #ifdef HAVE___BUILTIN_POPCOUNT 5 #define util_bitcount(i) __builtin_popcount(i) 6 #else 7 extern unsigned int 8 util_bitcount(unsigned int n); 9 #endif 10 11 #endif /* RADV_UTIL_H */ 12