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