]> sourceware.org Git - newlib-cygwin.git/commitdiff
winsup/cygwin: remove defines added in mingw-w64 v7.0.0
authorBiswapriyo Nath <nathbappai@gmail.com>
Wed, 1 Apr 2020 05:50:00 +0000 (11:20 +0530)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 1 Apr 2020 09:15:25 +0000 (11:15 +0200)
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
winsup/cygwin/mmap.cc
winsup/cygwin/uinfo.cc
winsup/cygwin/winlean.h

index d8ef037f092e739178bff18b63929204a6f8644b..662489c8c74667744c5664490bd15391dd5ab3b5 100644 (file)
@@ -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)
 {
index bfcce00da03e4c96630053a0eb206bcb17fd7615..2d5de359b157ddff7bc96151d1ec113b4fca91f8 100644 (file)
@@ -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)
 {
index 1332cb7aa73bf8d257d0e2cd18f313cdba23c974..9b30b6557c4f8f674e3694b85d68774d0e7ee1c1 100644 (file)
@@ -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*/
This page took 0.037255 seconds and 5 git commands to generate.