diff options
author | Werner Koch <wk@gnupg.org> | 2010-03-02 22:25:08 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2010-03-02 22:25:08 +0100 |
commit | d232fd2e543fb81151d7fe25e9f0692610870788 (patch) | |
tree | 8ce5ef17c07737c2ae873f945f99fb255f6573a3 /common/util.h | |
parent | Finished jnlib port to CE. (diff) | |
download | gnupg2-d232fd2e543fb81151d7fe25e9f0692610870788.tar.xz gnupg2-d232fd2e543fb81151d7fe25e9f0692610870788.zip |
First steps towards the W32CE port
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 7 |
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') |