Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2006-03-07 00:13:43 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2006-03-07 00:13:43 +0300
commitfc03f99fd359184853b26585e379d35c7bcb059d (patch)
treea5cbbc10f1a140d23aecd38dba2b32853b232d7c
parentf511869c9291fd992d27dc02555acc73d77c892b (diff)
* include/wingdi.h (CS_*): Correct WINVER guard on
Image Color Matching colour definitions.
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/wingdi.h4
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,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
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