aboutsummaryrefslogtreecommitdiffstats
path: root/gl
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-04-14 11:24:02 +0000
committerWerner Koch <[email protected]>2010-04-14 11:24:02 +0000
commit31d7bdfe771853a480203d7d4a661d476d2231a4 (patch)
tree470c4ed27b06188b1a1a000ce6fb2c41b260b96d /gl
parent2010-04-13 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-31d7bdfe771853a480203d7d4a661d476d2231a4.tar.gz
gnupg-31d7bdfe771853a480203d7d4a661d476d2231a4.zip
Whole lot of changes to support CE.
Diffstat (limited to 'gl')
-rw-r--r--gl/mkdtemp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gl/mkdtemp.c b/gl/mkdtemp.c
index e3abb11fd..e8db73908 100644
--- a/gl/mkdtemp.c
+++ b/gl/mkdtemp.c
@@ -80,6 +80,11 @@
# include <io.h>
#endif
+#ifdef HAVE_W32CE_SYSTEM
+#include <windows.h>
+#define getpid() GetCurrentProcessId ()
+#endif
+
#if !_LIBC
# define __getpid getpid
# define __gettimeofday gettimeofday