public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] winsup/cygwin: remove defines added in mingw-w64 v7.0.0 Date: Wed, 1 Apr 2020 09:32:54 +0000 (GMT) [thread overview] Message-ID: <20200401093254.5C9BF385DC01@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1171927f1a0073821d0b0266f9d8eff42742d1cf commit 1171927f1a0073821d0b0266f9d8eff42742d1cf Author: Biswapriyo Nath <nathbappai@gmail.com> Date: Wed Apr 1 11:20:00 2020 +0530 winsup/cygwin: remove defines added in mingw-w64 v7.0.0 Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com> Diff: --- winsup/cygwin/mmap.cc | 3 --- winsup/cygwin/uinfo.cc | 3 --- winsup/cygwin/winlean.h | 11 ----------- 3 files changed, 17 deletions(-) diff --git a/winsup/cygwin/mmap.cc b/winsup/cygwin/mmap.cc index d8ef037f0..662489c8c 100644 --- a/winsup/cygwin/mmap.cc +++ b/winsup/cygwin/mmap.cc @@ -1466,9 +1466,6 @@ munlock (const void *addr, size_t len) return ret; } -/* This is required until Mingw-w64 catches up with newer functions. */ -extern "C" WINAPI DWORD DiscardVirtualMemory (PVOID, SIZE_T); - extern "C" int posix_madvise (void *addr, size_t len, int advice) { diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index bfcce00da..2d5de359b 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -1912,9 +1912,6 @@ pwdgrp::construct_sid_from_name (cygsid &sid, wchar_t *name, wchar_t *sep) return false; } -/* CV 2018-08-28: SidTypeLogonSession is not yet defined in Mingw64. */ -#define SidTypeLogonSession 11 - char * pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, cyg_ldap *pldap) { diff --git a/winsup/cygwin/winlean.h b/winsup/cygwin/winlean.h index 1332cb7aa..9b30b6557 100644 --- a/winsup/cygwin/winlean.h +++ b/winsup/cygwin/winlean.h @@ -94,15 +94,4 @@ details. */ #define GetWindowsDirectoryW dont_use_GetWindowsDirectory #define GetWindowsDirectoryA dont_use_GetWindowsDirectory -/* For console with xterm compatible mode */ -/* Not yet defined in Mingw-w64 */ -#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING -#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004 -#endif /* ENABLE_VIRTUAL_TERMINAL_PROCESSING */ -#ifndef ENABLE_VIRTUAL_TERMINAL_INPUT -#define ENABLE_VIRTUAL_TERMINAL_INPUT 0x0200 -#endif /* ENABLE_VIRTUAL_TERMINAL_INPUT */ -#ifndef DISABLE_NEWLINE_AUTO_RETURN -#define DISABLE_NEWLINE_AUTO_RETURN 0x0008 -#endif /* DISABLE_NEWLINE_AUTO_RETURN */ #endif /*_WINLEAN_H*/
reply other threads:[~2020-04-01 9:32 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200401093254.5C9BF385DC01@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).