summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2007-01-20 18:06:38 -0800
committerEric Anholt <[email protected]>2007-01-26 14:18:24 -0800
commit869b8ad499717eda4a1be04de4e516134123402c (patch)
tree98ba308706e9b7ad2abcb500862c23e3d3a50930 /src/mesa/main/imports.h
parentdbb54b234cd919b8ef7e36e0603ec69f3ed3fc7f (diff)
Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r--src/mesa/main/imports.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 19a9478f76a..d9885dbeec4 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -688,6 +688,9 @@ _mesa_pow(double x, double y);
extern int
_mesa_ffs(int i);
+extern int
+_mesa_ffsll(long long i);
+
extern unsigned int
_mesa_bitcount(unsigned int n);