On Fri, 27 Jun 2003 23:20:30 +0200 (Romance Daylight Time) Vadim Zeitlin <[EMAIL
PROTECTED]> wrote:
VZ> NB> I need it in MailFolderCmn.cpp:1954. If it is in one of Windows include
VZ> NB> headers, how to include it safely for cygwin and mingw?
VZ>
VZ> If you just need DWORD you may just replace it with (unsigned) long but
VZ> PlaySound() wouldn't be defined neither, would it?
VZ>
VZ> Anyhow, if you need to include <windows.h>, include "wx/msw/winundef.h"
VZ> after it as well.
I added
#include <windows.h>
#include "wx/msw/winundef.h"
but now:
In file included from /usr/include/w32api/windows.h:48,
from .src/mail/MailFolderCmn.cpp:1954:
/usr/include/w32api/windef.h: In function `static void
MailFolderCmn::ReportNewMail(const MFolder *, const UIdArray *, long unsigned int,
MailFolder *)':
/usr/include/w32api/windef.h:8: parse error before string constant
/usr/include/w32api/windef.h:241: parse error before `*'
...
/usr/include/w32api/windef.h:7 is:
#ifdef __cplusplus
extern "C" {
#endif
Regards,
Nerijus
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers