[BRLTTY] Compiling in windows : Cython Not Found

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


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

>with the latest pl. find the following error
...
>In file included from ./pgmpath_windows.c:23:0:
>./system_windows.h:53:8: error: 'AttachConsole' undeclared here (not in a function)

Would you please test the attached patch (mingw-1.patch) to see if it resolves 
the problem?

-- 
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..c62aecd 100644
--- a/prologue.h
+++ b/prologue.h
@@ -80,6 +80,7 @@ extern "C" {
 
 #ifndef _WIN32_WINNT
 #define _WIN32_WINNT _WIN32_WINNT_WINXP
+#define WINVER _WIN32_WINNT
 #endif /* _WIN32_WINNT */
 
 #ifdef __MINGW32__


More information about the BRLTTY mailing list