diff options
author | marha <marha@users.sourceforge.net> | 2011-02-23 07:34:10 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-02-23 07:34:10 +0000 |
commit | e8d899178e9ebe174e6b4a53297d3dfced8003f0 (patch) | |
tree | 407c4e3c78b0cc28e95e7f607d02975e2155a46f /mesalib/src/mesa/main/imports.h | |
parent | aa5b2e956fcc17b27d0f20ba7af65c52b34ef135 (diff) | |
parent | fbb8c9a149047ccb27e749053c83acf94dedcbf9 (diff) | |
download | vcxsrv-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.h | 6 |
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)
|