diff options
author | Werner Koch <[email protected]> | 2006-06-27 08:40:23 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-06-27 08:40:23 +0000 |
commit | e0af7eb3791c4ce8ebac7db004543049f1af851c (patch) | |
tree | 2e2b1708031b98b708072018416469185cf877d3 /g10/gpg.c | |
parent | Post release version update (diff) | |
download | gnupg-e0af7eb3791c4ce8ebac7db004543049f1af851c.tar.gz gnupg-e0af7eb3791c4ce8ebac7db004543049f1af851c.zip |
do no use reopen_std under W32.
Diffstat (limited to 'g10/gpg.c')
-rw-r--r-- | g10/gpg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1631,7 +1631,7 @@ parse_trust_model(const char *model) static void reopen_std(void) { -#ifdef HAVE_STAT +#if defined(HAVE_STAT) && !defined(HAVE_W32_SYSTEM) struct stat statbuf; int did_stdin=0,did_stdout=0,did_stderr=0; FILE *complain; @@ -1685,7 +1685,7 @@ reopen_std(void) if(did_stdin==2 || did_stdout==2 || did_stderr==2) exit(3); -#endif +#endif /* HAVE_STAT && !HAVE_W32_SYSTEM */ } int |