[INCLUDE/WINE] Use __builtin_ffs in the clang-cl build. CORE-11799 (#94)
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 27 Oct 2017 22:55:59 +0000 (23:55 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 27 Oct 2017 22:55:59 +0000 (23:55 +0100)
sdk/include/reactos/wine/port.h

index 30d8e9e..26acee0 100644 (file)
@@ -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)