changeset 93683:e6ebe1ee40ec

(chkapiN) Add check for usp10.h.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 05 Apr 2008 08:16:58 +0000
parents a47f86eaf5c0
children c2ae140adee8
files nt/configure.bat
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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