summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-01-30 17:01:23 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-01-30 17:01:23 +0000
commit3cfaccf92a2e0f5ea395a2c95c323a8b762fc156 (patch)
treefdfe62ca0c16aa9a419ab61121b5a2cae48b9c40
parent0c75e59bfd0944782ee767c964d2dd2fdf34f6ea (diff)
parent462f09487efac27173c231b09861b4f5316eb11d (diff)
Merge branch 'gallium-0.2' into gallium-winsys-private
-rw-r--r--src/gallium/auxiliary/util/u_math.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h
index aa4fa17b59..ab6f39ac31 100644
--- 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.