Fix compilation on cygwin after commit 762c9766c93697af8d7fbaa729aed118789dbe8e
authorJon TURNEY <jon.turney@dronecode.org.uk>
Mon, 19 Dec 2011 17:42:02 +0000 (17:42 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Tue, 20 Dec 2011 13:45:27 +0000 (13:45 +0000)
commit9f8573b7aeed3ef88d680dbf2856f19503ac5cd6
tree840795005f4dcba89ee3b8ec0e765f73929d8aa5
parent704d22dfc1da2cb8c6c46d540018ae67d09f4d36
Fix compilation on cygwin after commit 762c9766c93697af8d7fbaa729aed118789dbe8e

Fix compilation on cygwin after commit 762c9766c93697af8d7fbaa729aed118789dbe8e
"Use VERT_ATTRIB_* indexed array in gl_array_object" added the first non-driver
use of ffsll(), which exposes the fact that this isn't provided on cygwin.

Found by tinderbox, see [1]

[1] http://tinderbox.freedesktop.org/builds/2011-11-30-0017/logs/libGL/#build

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/imports.h