]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: winlean.h: remove most of the extended memory API
authorKen Brown <kbrown@cornell.edu>
Wed, 23 Sep 2020 15:04:08 +0000 (11:04 -0400)
committerKen Brown <kbrown@cornell.edu>
Thu, 24 Sep 2020 16:28:03 +0000 (12:28 -0400)
commitc1f7c4d1b6d7424d7081fd382ac83a631b7671ff
tree4d4a6d705641b022ab2af70ee212310376ff2199
parent8315a90822f4b886b4858bab69b002866ca46b92
Cygwin: winlean.h: remove most of the extended memory API

This was added as a temporary measure in commit e18f7f99 because it
wasn't yet in the mingw-w64 headers.  With one exception, it is now in
the current release of the headers (version 8.0.0), so we don't need
it in winlean.h.

The exception is that VirtualAlloc2 is declared conditionally in
<w32api/memoryapi.h>, but the compilation of Cygwin requires it to
always be declared, even though it will only be executed on systems
that support it.  So retain the declaration in winlean.h.  And add
"WINAPI" to the declaration, as in memoryapi.h.

Add a check that version >= 8 of the mingw-w64 headers is intalled.

Also revert commit 3d136011, which was a related temporary workaround.
winsup/cygwin/ntdll.h
winsup/cygwin/winlean.h
winsup/utils/cygpath.cc
winsup/utils/ps.cc
This page took 0.029237 seconds and 5 git commands to generate.