summarylogtreecommitdiffstats
path: root/0004-enable-gnu.mingw.patch
blob: d1ff3c75fe5480ea08836bb590cef80da10a4f4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- libassuan-2.1.1/configure.ac.orig	2013-10-16 13:39:08.255597600 +0000
+++ libassuan-2.1.1/configure.ac	2013-10-16 13:45:42.764693900 +0000
@@ -234,6 +234,11 @@
 AM_CONDITIONAL(HAVE_W32CE_SYSTEM, test "$have_w32ce_system" = yes)
 AM_CONDITIONAL(HAVE_W64_SYSTEM, test "$have_w64_system" = yes)
 
+case "${host}" in
+    *-w64-mingw32*)
+	AC_DEFINE(_GNU_SOURCE, 1, Activate GNU extensions for mingw-w64)
+    ;;
+esac
 
 #
 # Provide information about the build.