From d232fd2e543fb81151d7fe25e9f0692610870788 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 2 Mar 2010 21:25:08 +0000 Subject: First steps towards the W32CE port --- common/util.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/util.h') 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') -- cgit v1.2.3