diff options
author | Eli Zaretskii <eliz@gnu.org> | 2008-04-05 08:17:20 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2008-04-05 08:17:20 +0000 |
commit | 892508a40debc5eb8a055493d953e2b05132706b (patch) | |
tree | 86aebd99e5b83c42dc991cbb870d63ec0f9b956d /nt/configure.bat | |
parent | 83a38a5a39bbd7a939d9dedcaab92340c03e14ab (diff) | |
download | emacs-892508a40debc5eb8a055493d953e2b05132706b.tar.gz |
(chkapiN) Add check for usp10.h.
Diffstat (limited to 'nt/configure.bat')
-rwxr-xr-x | nt/configure.bat | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nt/configure.bat b/nt/configure.bat index 87b02de0e9c..41c4528930d 100755 --- a/nt/configure.bat +++ b/nt/configure.bat @@ -282,9 +282,11 @@ rem are like this), or have a typo in the definition of 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
|