diff options
Diffstat (limited to 'common/util.h')
| -rw-r--r-- | common/util.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/common/util.h b/common/util.h index 3a5f086f9..3fb205685 100644 --- a/common/util.h +++ b/common/util.h @@ -240,6 +240,12 @@ const char *get_keyalgo_string (enum gcry_pk_algos algo, /*-- homedir.c --*/ +#ifdef HAVE_W32_SYSTEM +int gnupg_isatty (int fd); +#else +#define gnupg_isatty(a) isatty ((a)) +#endif + const char *standard_homedir (void); void gnupg_set_homedir (const char *newdir); void gnupg_maybe_make_homedir (const char *fname, int quiet); @@ -427,8 +433,6 @@ _gnupg_ttyname (int fd) # define gnupg_ttyname(n) ttyname ((n)) #endif /*HAVE_TTYNAME */ -#define gnupg_isatty(a) isatty ((a)) - /*-- Macros to replace ctype ones to avoid locale problems. --*/ #define spacep(p) (*(p) == ' ' || *(p) == '\t') |
