Fix build with OS X 10.8 SDK

The ffsll function is missing with that SDK, but Clang and GCC support
it as the builtin.

Change-Id: I9f4d900898814b569c1affff140e15fb59fb45d8
Reviewed-by: Samuel Gaist <samuel.gaist@edeltech.ch>
Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
This commit is contained in:
Thiago Macieira 2015-10-17 14:18:19 -07:00
parent e8d9bb906b
commit 7ad560b2bc

View File

@ -636,7 +636,7 @@ int ffsll(quint64 i)
#endif
}
#endif
#elif defined(Q_OS_ANDROID) || defined(Q_OS_QNX)
#elif defined(Q_OS_ANDROID) || defined(Q_OS_QNX) || defined(Q_OS_OSX)
# define ffsll __builtin_ffsll
#endif