Patch for MinGW-W64 port

B. Scott Michel scottm at
Wed Mar 21 22:46:34 CET 2012

The attached patch enhances support for W64 using the (relatively new) 
MinGW-W64 environment. MinGW-W64 uses the LP64 model, which explains the 
changes that eliminate int-to-pointer and pointer-to-int conversion 
warnings by gcc. The other minor change required is that libopts assumed 
that gettext() came from stdio.h; I would imagine other platforms 
actually have to include libintl.h and have an explicit dependency on 
-lintl during linking.

Hope this benefits more than just the MinGW community.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gnutls-patch.txt
URL: </pipermail/attachments/20120321/09c572b3/attachment.txt>

More information about the Gnutls-devel mailing list