Author: akhaldi
Date: Tue Jul 30 16:06:38 2013
New Revision: 59595
URL:
http://svn.reactos.org/svn/reactos?rev=59595&view=rev
Log:
[INCLUDE/WINE]
* Leverage __builtin_ffs() to fix the ffs() related issues.
Modified:
trunk/reactos/include/reactos/wine/port.h
Modified: trunk/reactos/include/reactos/wine/port.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/port.…
==============================================================================
--- trunk/reactos/include/reactos/wine/port.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/port.h [iso-8859-1] Tue Jul 30 16:06:38 2013
@@ -354,6 +354,8 @@
if (_BitScanForward(&index, mask) == 0) return 0;
return index;
}
+#else
+#define ffs __builtin_ffs
#endif
#else /* NO_LIBWINE_PORT */