aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2014-08-12 19:22:23 +0000
committerAndre Heinecke <[email protected]>2017-04-24 16:10:04 +0000
commit2e71bf30f038ca0e142acbb6f650ce029105f8a2 (patch)
tree943e54e3f0242a2010371d1f883c3b584146ecae
parenttests: Fix Python detection. (diff)
downloadgnupg-2e71bf30f038ca0e142acbb6f650ce029105f8a2.tar.gz
gnupg-2e71bf30f038ca0e142acbb6f650ce029105f8a2.zip
w32: Enable wildcard expansion with mingw-w64
* g10/gpg.c: Define _dowildcard = -1; -- If this value is defined wildcard support in the c runtime is enabled again. This fixes a regression caused by switching to mingw 3.0 Signed-off-by: Andre Heinecke <[email protected]>
-rw-r--r--g10/gpg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index e228427d9..d193cb21d 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -73,6 +73,9 @@
#define MY_O_BINARY 0
#endif
+#ifdef __MINGW32__
+int _dowildcard = -1;
+#endif
enum cmd_and_opt_values
{