mi: Provide ffs when compiling using MinGW

I don't know how I feel about the promise made in 2e7f790b :)
This commit is contained in:
Jon Turney 2019-04-25 23:11:08 +01:00
parent a838c840a3
commit 965eda947d
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ SOFTWARE.
#include <X11/Xmd.h>
#include "servermd.h"
#ifdef __MINGW32__
#define ffs __builtin_ffs
#endif
/* MICOPYAREA -- public entry for the CopyArea request
* For each rectangle in the source region
* get the pixels with GetSpans