mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
cc08f45304
__builtin_clz() is not defined by gcc prior to 3.4 and maybe not for some other compiler vendors. Signed-off-by: Uli Schlachter <psychon@znc.in>
12 lines
136 B
C
12 lines
136 B
C
/*
|
|
* build-tests/__builtin_clz.c
|
|
*
|
|
* test if the compiler has __builtin_clz().
|
|
*/
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
|
|
return (__builtin_clz(42));
|
|
}
|