GNU bug report logs -
#21260
23.2; Devanagari windows 10
Previous Next
Full log
View this message in rfc822 format
> From: Andy Moreton <andrewjmoreton <at> gmail.com>
> Date: Wed, 19 Aug 2015 21:26:38 +0100
>
> The recent changes broke the mingw64 (64bit) and cygwin w32 builds of
> emacs.
I hate those gratuitous incompatibilities in MinGW64 headers!
> Cygwin and msys2 mingw64 headers from w32api have this in usp10.h:
>
> 22 #if !defined (UNISCRIBE_OPENTYPE) && (_WIN32_WINNT >= 0x0600)
> 23 #define UNISCRIBE_OPENTYPE 0x0100
> 24 #endif
>
> 67 #if UNISCRIBE_OPENTYPE >= 0x0100
> 68 typedef ULONG OPENTYPE_TAG;
> 69 #endif
>
> This seems to fix the build:
>
> diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c
> index b1056bc104e0..c311cade6c1f 100644
> --- a/src/w32uniscribe.c
> +++ b/src/w32uniscribe.c
> @@ -25,6 +25,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
> of calling non-existent functions. */
> #undef _WIN32_WINNT
> #define _WIN32_WINNT 0x500
> +#undef UNISCRIBE_OPENTYPE
> +#define UNISCRIBE_OPENTYPE 0x0100
> #include <windows.h>
> #include <usp10.h>
Thanks, I fixed this in 092e17b.
This bug report was last modified 9 years and 276 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.