Ifdef __builtin_ctz to not be used for consoles

This commit is contained in:
twinaphex 2016-06-11 22:21:04 +02:00
parent 0c87175a61
commit 94545127a6

View File

@ -55,7 +55,7 @@ static INLINE unsigned compat_clz_u16(uint16_t val)
}
/* Count Trailing Zero */
#if defined(__GNUC__)
#if defined(__GNUC__) && !defined(RARCH_CONSOLE)
static INLINE int compat_ctz(unsigned x)
{
return __builtin_ctz(x);