diff options
author | Werner Koch <wk@gnupg.org> | 2004-12-15 15:15:54 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-12-15 15:15:54 +0100 |
commit | 69967b04125e53811182a01d2700984469117339 (patch) | |
tree | 3034ccf72b4bb558187f3e1d435a92ec193e093c /common/w32reg.c | |
parent | Yep. No lost threads anymore. (diff) | |
download | gnupg2-69967b04125e53811182a01d2700984469117339.tar.xz gnupg2-69967b04125e53811182a01d2700984469117339.zip |
A whole bunch of changes to allow building for W32.
Diffstat (limited to 'common/w32reg.c')
-rw-r--r-- | common/w32reg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/w32reg.c b/common/w32reg.c index 19fb613e7..a85ac7348 100644 --- a/common/w32reg.c +++ b/common/w32reg.c @@ -19,7 +19,7 @@ */ #include <config.h> -#if defined (_WIN32) || defined (__CYGWIN32__) +#ifdef HAVE_W32_SYSTEM /* This module is only used in this environment */ #include <stdio.h> @@ -29,6 +29,7 @@ #include <windows.h> #include "util.h" +#include "sysutils.h" static HKEY get_root_key(const char *root) @@ -169,4 +170,4 @@ write_w32_registry_string(const char *root, const char *dir, return 0; } -#endif /* __MINGW32__ || __CYGWIN32__ */ +#endif /*HAVE_W32_SYSTEM*/ |