[gnutls-devel] [PATCH 0/4] Fixes to compile GnuTLS 3.4.0 using MinGW

Tim Kosse tim.kosse at filezilla-project.org
Sat Apr 18 11:38:53 CEST 2015


this set of patches fixes cross-compiling GnuTLS 3.4.0 using MinGW as packaged in Debian Jessie, please see each patch for details.

The issues are new to 3.4.x and do not affect 3.3.x or older.

Tim Kosse

Tim Kosse (4):
  Fix include order, include gnutls_int.h before gnutls.h, otherwise
    undefined external references to gnutls_free and gnutls_strdup are
    the result when statically linking against GnuTLS built by MinGW.
  Set _WIN32_WINNT to 0x600, at least with some MinGW versions ncrypt.h
    checks this define to be at least 0x600.
  Fix a preprocessor warning about mismatched quotes.
  ncrypt.h lacks some defines with some versions of MinGW.

 lib/gnutls_supplemental.c |  2 +-
 lib/system-keys-win.c     | 36 ++++++++++++++++++++++++++++++++----
 2 files changed, 33 insertions(+), 5 deletions(-)


More information about the Gnutls-devel mailing list