aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-11-02 16:27:46 +0000
committerWerner Koch <[email protected]>2010-11-02 16:27:46 +0000
commit987993a38d12f6de052683711e673fa6bbbdae86 (patch)
treefd71f8e2a821a54a0f4c0b2243f5ad4c74683c97 /src/util.h
parent2010-10-28 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-987993a38d12f6de052683711e673fa6bbbdae86.tar.gz
gpgme-987993a38d12f6de052683711e673fa6bbbdae86.zip
First take on changes to allow building with MSC for W32CE.
Fixed regression in plain W32 build.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index f7e6d276..b7dfbbde 100644
--- a/src/util.h
+++ b/src/util.h
@@ -22,8 +22,12 @@
#ifndef UTIL_H
#define UTIL_H
-#ifdef HAVE_W32CE_SYSTEM
-#include "w32-ce.h"
+#ifdef HAVE_W32_SYSTEM
+# ifdef HAVE_W32CE_SYSTEM
+# include "w32-ce.h"
+# else
+# include "windows.h"
+# endif
#endif
/* For pid_t. */