https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d3e83d7d5e43dd9949592…
commit d3e83d7d5e43dd9949592c406637b260339f32c5
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Fri Oct 27 23:55:59 2017 +0100
[INCLUDE/WINE] Use __builtin_ffs in the clang-cl build. CORE-11799 (#94)
---
sdk/include/reactos/wine/port.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/include/reactos/wine/port.h b/sdk/include/reactos/wine/port.h
index 30d8e9e41b..26acee00d6 100644
--- a/sdk/include/reactos/wine/port.h
+++ b/sdk/include/reactos/wine/port.h
@@ -351,7 +351,7 @@ extern int spawnvp(int mode, const char *cmdname, const char * const
argv[]);
#endif /* __i386___ && __GNUC__ */
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && !defined(__clang__)
__forceinline
int
ffs(int mask)