summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/commctrl.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-07-24 21:50:49 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-07-24 21:50:49 +0000
commitb0054da2c0c42c26f4af141ffe57dc018e7b2ab8 (patch)
treea9367a05fda6eedf645a0159c2e591437bd36a09 /winsup/w32api/include/commctrl.h
parent53b5bff7806cf317e46a731e0b3bfc574093a683 (diff)
downloadcygnal-b0054da2c0c42c26f4af141ffe57dc018e7b2ab8.tar.gz
cygnal-b0054da2c0c42c26f4af141ffe57dc018e7b2ab8.tar.bz2
cygnal-b0054da2c0c42c26f4af141ffe57dc018e7b2ab8.zip
2002-07-25 Mattia Barbon <mbarbon@dsi.unive.it>
* include/commctrl.h: Avoid redefinition of CDN_FIRST/LAST. * include/commdlg.h: Likewise.
Diffstat (limited to 'winsup/w32api/include/commctrl.h')
-rw-r--r--winsup/w32api/include/commctrl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h
index a03aeb66d..f232c2084 100644
--- a/winsup/w32api/include/commctrl.h
+++ b/winsup/w32api/include/commctrl.h
@@ -167,8 +167,10 @@ extern "C" {
#define TTN_LAST ((UINT)-549)
#define TCN_FIRST ((UINT)-550)
#define TCN_LAST ((UINT)-580)
-#define CDN_FIRST ((UINT)-601)
+#ifndef CDN_FIRST
+#define CDN_FIRST ((UINT)-601) /* also in commdlg.h */
#define CDN_LAST ((UINT)-699)
+#endif
#define TBN_FIRST ((UINT)-700)
#define TBN_LAST ((UINT)-720)
#define UDN_FIRST ((UINT)-721)