projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7996b3e
)
util: Define ffs for MinGW.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 30 Jan 2009 14:59:32 +0000
(14:59 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 30 Jan 2009 14:59:32 +0000
(14:59 +0000)
src/gallium/auxiliary/util/u_math.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_math.h
b/src/gallium/auxiliary/util/u_math.h
index
aa4fa17
..
ab6f39a
100644
(file)
--- a/
src/gallium/auxiliary/util/u_math.h
+++ b/
src/gallium/auxiliary/util/u_math.h
@@
-341,6
+341,10
@@
unsigned ffs( unsigned u )
}
#endif
+#ifdef __MINGW32__
+#define ffs __builtin_ffs
+#endif
+
/**
* Return float bits.