1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

First steps towards the W32CE port

This commit is contained in:
Werner Koch 2010-03-02 21:25:08 +00:00
parent 30a4096fbb
commit d232fd2e54
17 changed files with 405 additions and 110 deletions

View file

@ -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')