[PATCH] include: Avoid depending on config.h for the __builtin_clz check.

Alexandre Julliard julliard at winehq.org
Mon Jun 17 14:35:42 CDT 2019


Alistair Leslie-Hughes <leslie_alistair at hotmail.com> writes:

> diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
> index ada5636550..8ffe189fa9 100644
> --- a/include/wine/wined3d.h
> +++ b/include/wine/wined3d.h
> @@ -26,10 +26,6 @@
>  #ifndef __WINE_WINED3D_H
>  #define __WINE_WINED3D_H
>  
> -#ifndef __WINE_WINE_PORT_H
> -# error You must include wine/port.h to use this header
> -#endif

port.h is still needed for ffs().

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list