aboutsummaryrefslogtreecommitdiffstats
path: root/common/common-defs.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-11-16 01:05:37 +0000
committerNIIBE Yutaka <[email protected]>2022-11-16 01:05:37 +0000
commit18a3ce1c9bd767e88d426cf618441a3313888473 (patch)
tree5377edbc8d230db9d8a908da71818688285e8f30 /common/common-defs.h
parentgpgsm: Fix colon outout of ECC encryption certificates (diff)
downloadgnupg-18a3ce1c9bd767e88d426cf618441a3313888473.tar.gz
gnupg-18a3ce1c9bd767e88d426cf618441a3313888473.zip
common: Remove Windows CE support in common.
* common/Makefile.am (HAVE_W32CE_SYSTEM): Remove conditional build. (common_sources): Remove exechelp-w32ce.c. * common/asshelp.c [HAVE_W32CE_SYSTEM]: Remove the support. * common/common-defs.h [HAVE_W32CE_SYSTEM]: Likewise. * common/dotlock.c [HAVE_W32CE_SYSTEM]: Likewise. * common/exechelp-posix.c [HAVE_W32CE_SYSTEM]: Likewise. * common/exechelp-w32.c [HAVE_W32CE_SYSTEM]: Likewise. * common/gettime.c [HAVE_W32CE_SYSTEM]: Likewise. * common/exechelp-w32ce.c: Remove. * po/POTFILES.in: Update to remove common/exechelp-w32ce.c. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/common-defs.h')
-rw-r--r--common/common-defs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/common-defs.h b/common/common-defs.h
index cad5405d0..ff3c65e21 100644
--- a/common/common-defs.h
+++ b/common/common-defs.h
@@ -36,10 +36,6 @@
#define getenv(a) (NULL)
#endif
-#ifdef HAVE_W32CE_SYSTEM
-#define getpid() GetCurrentProcessId ()
-#endif
-
/*-- ttyio.c --*/
void tty_private_set_rl_hooks (void (*init_stream) (FILE *),