diff options
author | Ken Brown <kbrown@cornell.edu> | 2020-09-23 11:04:08 -0400 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2020-09-24 12:28:03 -0400 |
commit | c1f7c4d1b6d7424d7081fd382ac83a631b7671ff (patch) | |
tree | 4d4a6d705641b022ab2af70ee212310376ff2199 /libgloss | |
parent | 8315a90822f4b886b4858bab69b002866ca46b92 (diff) | |
download | newlib-c1f7c4d1b6d7424d7081fd382ac83a631b7671ff.zip newlib-c1f7c4d1b6d7424d7081fd382ac83a631b7671ff.tar.gz newlib-c1f7c4d1b6d7424d7081fd382ac83a631b7671ff.tar.bz2 |
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.
Diffstat (limited to 'libgloss')
0 files changed, 0 insertions, 0 deletions