public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: Decorate NtQueryVirtualMemory() to fix 32-bit build
@ 2020-07-28 12:28 Jon TURNEY
  0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2020-07-28 12:28 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7b1416c3abe890c8058001d6bb795802f80270af

commit 7b1416c3abe890c8058001d6bb795802f80270af
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Tue Jul 28 13:25:00 2020 +0100

    Cygwin: Decorate NtQueryVirtualMemory() to fix 32-bit build
    
    Decorate NtQueryVirtualMemory() with NTAPI (for stdcall) to fix 32-bit
    build.
    
    Reported-by: Takashi Yano <takashi.yano@nifty.ne.jp>

Diff:
---
 winsup/utils/dumper.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/utils/dumper.cc b/winsup/utils/dumper.cc
index 3af138b9e..36dbf9dbb 100644
--- a/winsup/utils/dumper.cc
+++ b/winsup/utils/dumper.cc
@@ -272,7 +272,7 @@ typedef enum _MEMORY_INFORMATION_CLASS
 } MEMORY_INFORMATION_CLASS;
 
 extern "C"
-NTSTATUS
+NTSTATUS NTAPI
 NtQueryVirtualMemory(HANDLE ProcessHandle,
 		     LPVOID BaseAddress,
 		     MEMORY_INFORMATION_CLASS MemoryInformationClass,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-28 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28 12:28 [newlib-cygwin] Cygwin: Decorate NtQueryVirtualMemory() to fix 32-bit build Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).