aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-03-22 12:46:05 +0000
committerWerner Koch <[email protected]>2010-03-22 12:46:05 +0000
commite64038608be28c14ed72b0372529762953de898f (patch)
tree3847da576d4f2e6c542ce6737179a11afcc1a487 /common/sysutils.c
parentBuilds again for W32. (diff)
downloadgnupg-e64038608be28c14ed72b0372529762953de898f.tar.gz
gnupg-e64038608be28c14ed72b0372529762953de898f.zip
More chnages to use estream. Add a way to replace the standard
descriptors.
Diffstat (limited to 'common/sysutils.c')
-rw-r--r--common/sysutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sysutils.c b/common/sysutils.c
index 822ceab61..7fb8b20c9 100644
--- a/common/sysutils.c
+++ b/common/sysutils.c
@@ -498,7 +498,7 @@ gnupg_allow_set_foregound_window (pid_t pid)
if (!pid)
log_info ("%s called with invalid pid %lu\n",
"gnupg_allow_set_foregound_window", (unsigned long)pid);
-#ifdef HAVE_W32_SYSTEM
+#if defined(HAVE_W32_SYSTEM) && !defined(HAVE_W32CE_SYSTEM)
else if (!AllowSetForegroundWindow ((pid_t)pid == (pid_t)(-1)?ASFW_ANY:pid))
log_info ("AllowSetForegroundWindow(%lu) failed: %s\n",
(unsigned long)pid, w32_strerror (-1));