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

* exec.c [__CYGWIN32__]: Keep cygwin separate from Mingw32;

we don't need it here as it behaves more like a Posix system.
* passphrase.c (agent_get_passphrase): Ditto.
* tdbio.c (MY_O_BINARY): Need binary mode with Cygwin.

* g10.c, gpgv.c (main) [__CYGWIN32__]: Don't get the homedir from
the registry.
This commit is contained in:
Werner Koch 2002-10-21 16:31:38 +00:00
parent 265b60b089
commit 16e53ae196
6 changed files with 27 additions and 17 deletions

View file

@ -39,11 +39,11 @@
#include "trustdb.h"
#include "tdbio.h"
#if defined(HAVE_DOSISH_SYSTEM) && !defined(__CYGWIN32__)
#if defined(HAVE_DOSISH_SYSTEM)
#define ftruncate chsize
#endif
#ifdef HAVE_DOSISH_SYSTEM
#if defined(HAVE_DOSISH_SYSTEM) || defined(__CYGWIN__)
#define MY_O_BINARY O_BINARY
#else
#define MY_O_BINARY 0