summaryrefslogtreecommitdiffstats
path: root/gl
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-04-14 13:24:02 +0200
committerWerner Koch <wk@gnupg.org>2010-04-14 13:24:02 +0200
commit31d7bdfe771853a480203d7d4a661d476d2231a4 (patch)
tree470c4ed27b06188b1a1a000ce6fb2c41b260b96d /gl
parent2010-04-13 Marcus Brinkmann <marcus@g10code.de> (diff)
downloadgnupg2-31d7bdfe771853a480203d7d4a661d476d2231a4.tar.xz
gnupg2-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