aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/imports.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-23 07:03:24 +0000
committermarha <marha@users.sourceforge.net>2011-02-23 07:03:24 +0000
commitfbb8c9a149047ccb27e749053c83acf94dedcbf9 (patch)
tree9eefd8f431bd8c63bff79c89c3f7bd8012d1ce77 /mesalib/src/mesa/main/imports.h
parent9273afeeb4499a0493f120b7525e17b6ae51113e (diff)
downloadvcxsrv-fbb8c9a149047ccb27e749053c83acf94dedcbf9.tar.gz
vcxsrv-fbb8c9a149047ccb27e749053c83acf94dedcbf9.tar.bz2
vcxsrv-fbb8c9a149047ccb27e749053c83acf94dedcbf9.zip
xserver pixman mesa git update 23 Feb 2011
Diffstat (limited to 'mesalib/src/mesa/main/imports.h')
-rw-r--r--mesalib/src/mesa/main/imports.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/imports.h b/mesalib/src/mesa/main/imports.h
index a994dbcae..ce7baabe2 100644
--- a/mesalib/src/mesa/main/imports.h
+++ b/mesalib/src/mesa/main/imports.h
@@ -540,6 +540,12 @@ extern void
_mesa_init_sqrt_table(void);
#ifdef __GNUC__
+
+#ifdef __MINGW32__
+#define ffs __builtin_ffs
+#define ffsll __builtin_ffsll
+#endif
+
#define _mesa_ffs(i) ffs(i)
#define _mesa_ffsll(i) ffsll(i)