Mercurial > hg > xemacs-beta
diff src/syswindows.h @ 1304:579d37cb4395
[xemacs-hg @ 2003-02-15 11:20:38 by ben]
make-src-depend updated in previous checkin but omitted in patcher; this time just correct the usage note and check in the changelog
author | ben |
---|---|
date | Sat, 15 Feb 2003 11:20:40 +0000 |
parents | e22b0213b713 |
children | 74353ce403ce |
line wrap: on
line diff
--- a/src/syswindows.h Sat Feb 15 10:16:14 2003 +0000 +++ b/src/syswindows.h Sat Feb 15 11:20:40 2003 +0000 @@ -151,6 +151,12 @@ #ifdef CYGWIN_HEADERS +#include <w32api.h> /* for version info */ + +#if __W32API_MAJOR_VERSION > 2 || (__W32API_MAJOR_VERSION == 2 && __W32API_MINOR_VERSION >= 2) +#define W32API_2_2 +#endif + /* Various brokennesses in various versions of Cygwin */ /* windows.h defines. */ @@ -356,6 +362,8 @@ WCHAR szDisplay[64]; } NMDATETIMEFORMATW, FAR * LPNMDATETIMEFORMATW; +#ifndef W32API_2_2 + typedef struct tagNMTTDISPIFNOA { NMHDR hdr; @@ -380,6 +388,8 @@ #endif } NMTTDISPINFOW, FAR *LPNMTTDISPINFOW; +#endif /* not W32API_2_2 */ + #endif /* (_WIN32_IE >= 0x0400) */ /* shlobj.h defines */