MailCore / mailcore2

MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
Other
2.59k stars 623 forks source link

[Bug] - mailcore2 can't compile on Windows platform #1940

Open yinzhiqiang19 opened 2 years ago

yinzhiqiang19 commented 2 years ago

I use mailcore2 to compile on windows platform,but the code cannot compile success ,that exists some errors,such as:

Cannot open include file: 'sys/mman.h': No such file or directory error C3861: 'memmem': identifier not found Cannot open include file: 'strings.h': No such file or directory error C2440: 'type cast' : cannot convert from 'void (__cdecl mailcore::IMAPOperation::* )(void)' to 'mailcore::Object::Method'

How to solve these problems?