From fc03f99fd359184853b26585e379d35c7bcb059d Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Mon, 6 Mar 2006 21:13:43 +0000 Subject: [PATCH] * include/wingdi.h (CS_*): Correct WINVER guard on Image Color Matching colour definitions. --- winsup/w32api/ChangeLog | 4 ++++ winsup/w32api/include/wingdi.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 9bb8b1b4c..c6d86bf4b 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,7 @@ +2006-03-06 Danny Smith + * include/wingdi.h (CS_*): Correct WINVER guard on + Image Color Matching colour definitions. + 2006-03-06 Danny Smith * include/shlobj.h (SFGAO_ISSLOW): Define. diff --git a/winsup/w32api/include/wingdi.h b/winsup/w32api/include/wingdi.h index 108a3f2d2..0157b7be6 100644 --- a/winsup/w32api/include/wingdi.h +++ b/winsup/w32api/include/wingdi.h @@ -1196,12 +1196,12 @@ extern "C" { #define AC_DST_NO_ALPHA 0x20 #define LAYOUT_RTL 1 #define LAYOUT_BITMAPORIENTATIONPRESERVED 8 -#if (WINVER > 0x400) +#if (WINVER >= 0x0400) #define CS_ENABLE 0x00000001 #define CS_DISABLE 0x00000002 #define CS_DELETE_TRANSFORM 0x00000003 #endif -#if (WINVER >= 0x500) +#if (WINVER >= 0x0500) #define GRADIENT_FILL_RECT_H 0x00 #define GRADIENT_FILL_RECT_V 0x01 #define GRADIENT_FILL_TRIANGLE 0x02 -- 2.43.5