All pastes #911149 Raw Edit

Stuff

public text v1 · immutable
·published 2008-02-20 15:08 UTC
rendered paste body
Index: config-kleopatra.h.cmake
===================================================================
--- config-kleopatra.h.cmake	(revision 777428)
+++ config-kleopatra.h.cmake	(working copy)
@@ -5,7 +5,11 @@
 #cmakedefine HAVE_ASSUAN_FD_T 1
 
 #ifndef HAVE_ASSUAN_FD_T
+#ifndef _WIN32
 typedef int assuan_fd_t; // this doesn't work on Windows, but then HAVE_USABLE_ASSUAN isn't defined, either.
+#else
+typedef void* assuan_fd_t;
+#endif
 #endif // HAVE_ASSUAN_FD_T
 
 /* Define to 1 if your libassuan has the assuan_inquire_ext function */