jstedfast / gmime

A C/C++ MIME creation and parser library with support for S/MIME, PGP, and Unix mbox spools.
GNU Lesser General Public License v2.1
113 stars 36 forks source link

Macro G_OS_WIN32 is used before it can be defined. #77

Closed lazyhamster closed 4 years ago

lazyhamster commented 4 years ago

Latest commit for gmime-utils.c broke Windows build. You've moved #include lower and now it is after check for G_OS_WIN32. But this macro is defined with glib.h. So now it is always false and winsock headers can not be used.

jstedfast commented 4 years ago

Thanks for the bug report!