VS6 compilation: some progress

[email protected] (Henry S. Thompson)
Newsgroups gmane.emacs.xemacs.beta
Message-ID <[email protected]>
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: [email protected]
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.