aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h
index 3eed4eba8..56678620b 100644
--- a/common/util.h
+++ b/common/util.h
@@ -300,6 +300,13 @@ ttyname (int fd)
}
#endif /* !HAVE_TTYNAME */
+#ifdef HAVE_W32CE_SYSTEM
+#define getpid() GetCurrentProcessId ()
+char *_gnupg_getenv (const char *name); /* See sysutils.c */
+#define getenv(a) _gnupg_getenv ((a))
+#endif
+
+
/*-- Macros to replace ctype ones to avoid locale problems. --*/
#define spacep(p) (*(p) == ' ' || *(p) == '\t')