diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index 88da85243..4abdcf459 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -236,7 +236,11 @@ int strverscmp(const char *s1, const char *s2); | |||
236 | /* | 236 | /* |
237 | * strings.h | 237 | * strings.h |
238 | */ | 238 | */ |
239 | #if !defined(__clang__) | ||
239 | int ffs(int i); | 240 | int ffs(int i); |
241 | #else | ||
242 | # define ffs(i) __builtin_ffs(i) | ||
243 | #endif | ||
240 | 244 | ||
241 | /* | 245 | /* |
242 | * sys/ioctl.h | 246 | * sys/ioctl.h |