aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-08-29 00:04:28 +0000
committerDavid Shaw <[email protected]>2003-08-29 00:04:28 +0000
commit2f2fba641bd39f76cfd573836e81cf498bc1ddea (patch)
tree7a5e0a7d5501e65f953df1dc0c3610410e3403c0
parent* autogen.sh: Touch po/all for --build-w32. (diff)
downloadgnupg-2f2fba641bd39f76cfd573836e81cf498bc1ddea.tar.gz
gnupg-2f2fba641bd39f76cfd573836e81cf498bc1ddea.zip
* gpgv.c: s/__MINGW32__/_WIN32/ to help building on native Windows
compilers. Requested by Brian Gladman.
-rw-r--r--g10/ChangeLog5
-rw-r--r--g10/gpgv.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 022709b1e..b52eabfd7 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-28 David Shaw <[email protected]>
+
+ * gpgv.c: s/__MINGW32__/_WIN32/ to help building on native Windows
+ compilers. Requested by Brian Gladman.
+
2003-08-25 David Shaw <[email protected]>
* keyedit.c (change_passphrase): When responding 'no' to the blank
diff --git a/g10/gpgv.c b/g10/gpgv.c
index fcd165dfe..31034f1fe 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -164,7 +164,7 @@ main( int argc, char **argv )
opt.always_trust = 1;
opt.batch = 1;
-#if defined (__MINGW32__)
+#if defined (_WIN32)
set_homedir (read_w32_registry_string( NULL, "Software\\GNU\\GnuPG", "HomeDir" ));
#else
set_homedir (getenv("GNUPGHOME"));