Adding the following to the !CYGWIN_HEADERS branch in syswindows.h
(around line 606) allows the main body of a VS6 compilation to work:
typedef int WINBOOL;
typedef intptr_t LONG_PTR;
typedef uintptr_t ULONG_PTR;
typedef uintptr_t DWORD_PTR;
#define PCIDLIST_ABSOLUTE LPCITEMIDLIST /* from /usr/include/w32api/shtypes.h */
#define GWLP_USERDATA (-21) /* the rest from /usr/include/w32api/winuser.h */
#define GCLP_HICON (-14)
#define GCLP_HCURSOR (-12)
#define GWLP_HINSTANCE (-6)
#define DWLP_DLGPROC DWLP_MSGRESULT + sizeof(LRESULT)
#define DWLP_MSGRESULT 0
#define DWLP_USER DWLP_DLGPROC + sizeof(DLGPROC)
but a different set of problems then kicks in as it tries to compile
intl-auto-encap-win32, which I haven't made any progress on yet.
ht
--
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht(a)inf.ed.ac.uk
URL:
http://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta