MSCMS: Use lcms only if both library and headers are detected

Alexandre Julliard julliard at winehq.org
Mon Jul 18 04:28:17 CDT 2005


Jacek Caban <jack at itma.pwr.wroc.pl> writes:

> --- dlls/mscms/mscms_priv.h	21 Feb 2005 18:38:15 -0000	1.7
> +++ dlls/mscms/mscms_priv.h	16 Jul 2005 16:12:03 -0000
> @@ -22,7 +22,11 @@
>  #define HAVE_LCMS_H 1
>  #endif
>  
> -#ifdef HAVE_LCMS_H
> +#if defined(HAVE_LCMS_H) && defined(HAVE_LCMS)
> +#define USE_LCMS
> +#endif

Checking HAVE_LCMS should be enough, there's no need to define a new
symbol for the same thing.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list