aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/imports.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-23 07:34:10 +0000
committermarha <marha@users.sourceforge.net>2011-02-23 07:34:10 +0000
commite8d899178e9ebe174e6b4a53297d3dfced8003f0 (patch)
tree407c4e3c78b0cc28e95e7f607d02975e2155a46f /mesalib/src/mesa/main/imports.h
parentaa5b2e956fcc17b27d0f20ba7af65c52b34ef135 (diff)
parentfbb8c9a149047ccb27e749053c83acf94dedcbf9 (diff)
downloadvcxsrv-e8d899178e9ebe174e6b4a53297d3dfced8003f0.tar.gz
vcxsrv-e8d899178e9ebe174e6b4a53297d3dfced8003f0.tar.bz2
vcxsrv-e8d899178e9ebe174e6b4a53297d3dfced8003f0.zip
svn merge ^/branches/released .
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 9922f43e3..315c4119d 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)