mesa: android has no log2f nor ffs
authorChia-I Wu <olvaffe@gmail.com>
Fri, 5 Aug 2011 03:54:05 +0000 (12:54 +0900)
committerChia-I Wu <olvaffe@gmail.com>
Sat, 20 Aug 2011 18:01:48 +0000 (02:01 +0800)
commit504f92c739ffc916084ed821cb9f437276213057
treefbf457f2c5aaed8bb0b0e2cf63fa0b646d8c12ee
parentb34770d83465f969eae57436d5aa9f4d31278c10
mesa: android has no log2f nor ffs

Define log2f(v) to be logf(v) / M_LN2 and ffs to __builtin_ffs.

Reviewed-by: Chad Versace <chad@chad-versace.us>
src/mesa/main/imports.h