OSDN Git Service

* include/wingdi.h (CS_*): Correct WINVER guard on
authordannysmith <dannysmith>
Mon, 6 Mar 2006 21:13:43 +0000 (21:13 +0000)
committerdannysmith <dannysmith>
Mon, 6 Mar 2006 21:13:43 +0000 (21:13 +0000)
Image Color Matching colour definitions.

winsup/w32api/ChangeLog
winsup/w32api/include/wingdi.h

index 9bb8b1b..c6d86bf 100644 (file)
@@ -1,4 +1,8 @@
 2006-03-06  Danny Smith  <dannysmith@users.sourceforge.net>
+       * include/wingdi.h (CS_*): Correct WINVER guard on
+       Image Color Matching colour definitions.
+
+2006-03-06  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * include/shlobj.h (SFGAO_ISSLOW): Define.
        (SFGAO_DISPLAYATTRMASK): Define in terms of preceding display
index 108a3f2..0157b7b 100644 (file)
@@ -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