[BRLTTY] Compiling in windows : Cython Not Found

Dave Mielke dave at mielke.cc
Mon Jun 16 21:19:05 EDT 2014


[quoted lines by Siju Samuel on 2014/06/16 at 16:06 -0500]

>Got the same error. Note that I  did not chek out the code. But applied the
>patch. The patched file is attached

You did the right thing. It may be a bit tricky to figure out what's causing 
this problem on your system. I'm suspecting that it needs things to be done in 
an older MinGW way. Please remove the previous patch and try this one (attached 
as mingw-2.patch).

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: dave at mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.com/
-------------- next part --------------
diff --git a/prologue.h b/prologue.h
index 6d238ac..aa67c2c 100644
--- a/prologue.h
+++ b/prologue.h
@@ -78,9 +78,11 @@ extern "C" {
 #if defined(__CYGWIN__) || defined(__MINGW32__)
 #define WINDOWS
 
-#ifndef _WIN32_WINNT
-#define _WIN32_WINNT _WIN32_WINNT_WINXP
-#endif /* _WIN32_WINNT */
+#include <w32api.h>
+
+#ifndef WINVER
+#define WINVER WindowsXP
+#endif /* WINVER */
 
 #ifdef __MINGW32__
 #ifndef __USE_W32_SOCKETS


More information about the BRLTTY mailing list