diff options
author | Werner Koch <[email protected]> | 2007-08-22 10:55:07 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-08-22 10:55:07 +0000 |
commit | f81f521a72ccbccf2b66c4b7ce96021de90c9e29 (patch) | |
tree | d5335291ab12819087ea12e250cbf4241c703749 /common/exechelp.c | |
parent | Post release version number bump (diff) | |
download | gnupg-f81f521a72ccbccf2b66c4b7ce96021de90c9e29.tar.gz gnupg-f81f521a72ccbccf2b66c4b7ce96021de90c9e29.zip |
Updated estream.
More changes for Windows.
Diffstat (limited to 'common/exechelp.c')
-rw-r--r-- | common/exechelp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/exechelp.c b/common/exechelp.c index 6883c2aa4..2de4f750c 100644 --- a/common/exechelp.c +++ b/common/exechelp.c @@ -64,6 +64,14 @@ #pragma weak pth_waitpid #endif +#ifdef HAVE_W32_SYSTEM +/* It seems Vista doesn't grok X_OK and so fails access() tests. + Previous versions interpreted X_OK as F_OK anyway, so we'll just + use F_OK directly. */ +#undef X_OK +#define X_OK F_OK +#endif /* HAVE_W32_SYSTEM */ + #ifdef HAVE_W32_SYSTEM /* We assume that a HANDLE can be represented by an int which should |