# HG changeset patch # User Eli Zaretskii # Date 1207383418 0 # Node ID e6ebe1ee40ecfcfab4d4b5f1407ab3962fbb26c2 # Parent a47f86eaf5c0d3a325cb043f8aa29d226424f38e (chkapiN) Add check for usp10.h. diff -r a47f86eaf5c0 -r e6ebe1ee40ec nt/configure.bat --- a/nt/configure.bat Sat Apr 05 03:43:07 2008 +0000 +++ b/nt/configure.bat Sat Apr 05 08:16:58 2008 +0000 @@ -282,9 +282,11 @@ rem IMAGE_FIRST_SECTION (the headers with gcc/mingw32 2.95 have this rem problem). The gcc/mingw32 2.95.2 headers are okay, as are distros rem of w32api-xxx.zip from Anders Norlander since 1999-11-18 at least. +rem Beginning with Emacs 23, we need usp10.h. rem echo Checking whether W32 API headers are too old... echo #include "windows.h" >junk.c +echo #include "usp10.h" >>junk.c echo test(PIMAGE_NT_HEADERS pHeader) >>junk.c echo {PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader);} >>junk.c if (%nocygwin%) == (Y) goto chkapi1