| Submitter | Jacob Kroon |
|---|---|
| Date | Feb. 16, 2013, 6:48 p.m. |
| Message ID | <CAPbeDCkt36dh1H=8hyc3HdEBX_9h54TZwSrFMGgzDA2FJsztxw@mail.gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/221024/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/include/sysemu/os-win32.h b/include/sysemu/os-win32.h index bf9edeb..e2972c8 100644 --- a/include/sysemu/os-win32.h +++ b/include/sysemu/os-win32.h @@ -66,6 +66,7 @@ /* Declaration of ffs() is missing in MinGW's strings.h. */ int ffs(int i); +#define ffs(i) __builtin_ffs(i) /* Missing POSIX functions. Don't use MinGW-w64 macros. */ #undef gmtime_r