1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

A whole bunch of changes to allow building for Windows.

See the ChangeLogs for details.
This commit is contained in:
Werner Koch 2007-06-14 17:05:07 +00:00
parent f6a6e1f866
commit 0cfbfd6186
59 changed files with 850 additions and 204 deletions

View file

@ -330,7 +330,7 @@ open_sigfile( const char *iname, progress_filter_context_t *pfx )
static void
copy_options_file( const char *destdir )
{
const char *datadir = GNUPG_DATADIR;
const char *datadir = gnupg_datadir ();
char *fname;
FILE *src, *dst;
int linefeeds=0;
@ -407,6 +407,9 @@ void
try_make_homedir( const char *fname )
{
const char *defhome = GNUPG_DEFAULT_HOMEDIR;
#ifdef HAVE_W32_SYSTEM
#warning use a function and not a constant
#endif
/* Create the directory only if the supplied directory name
* is the same as the default one. This way we avoid to create