Home GnuPG
Diffusion GPGME cdae524b282e

w32: Hacks for building with 32 bit mingw64.
cdae524b282eUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

w32: Hacks for building with 32 bit mingw64.

* configure.ac (INSERT__TYPEDEFS_FOR_GPGME_H): Add hacks for 32 bit
mingw64.
* src/util.h [W32]: Include winsock2.h before windows to make mingw64
happy.
* src/w32-util.c (_WIN32_IE): Need to use 5.1 for mingw64.

It is not clear to me what mingw64 wants to achieve with their POSIX
hacks. In particular the off64_t stuff looks quite strange given that
Windows has a pretty stable API for close to 2 decades. Thus I can't
say whether it will really work when build with that toolchain.

Details

Provenance
wernerAuthored on Feb 26 2013, 5:06 PM
Parents
rM787b5f14b933: Improve missing libgpg-error reporting in configure.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rMcdae524b282e: w32: Hacks for building with 32 bit mingw64. (authored by Werner Koch <wk@gnupg.org>).Feb 26 2013, 5:10 PM