Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/winlean.h')
-rw-r--r--winsup/cygwin/winlean.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/winsup/cygwin/winlean.h b/winsup/cygwin/winlean.h
index 162994854..c50cf747a 100644
--- a/winsup/cygwin/winlean.h
+++ b/winsup/cygwin/winlean.h
@@ -1,6 +1,6 @@
/* winlean.h - Standard "lean" windows include
- Copyright 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
+ Copyright 2010, 2011, 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -58,6 +58,11 @@ details. */
#include <lmcons.h>
#include <ntdef.h>
+/* Temporary kludge for missing flag in Mingw64's w32api. */
+#ifndef PIPE_REJECT_REMOTE_CLIENTS
+#define PIPE_REJECT_REMOTE_CLIENTS 8
+#endif
+
#ifdef __undef_IN
#undef IN
#endif
@@ -74,13 +79,6 @@ details. */
#undef CRITICAL
#endif
-/* So-called "Microsoft Account" SIDs have a netbios domain name
- "MicrosoftAccounts". The problem is, while DNLEN is 15, that domain
- name is 16 chars :-P So we override DNLEN here to be 16, so that calls
- to LookupAccountSid/Name don't fail if the buffer is based on DNLEN. */
-#undef DNLEN
-#define DNLEN 16
-
/* When Terminal Services are installed, the GetWindowsDirectory function
does not return the system installation dir, but a user specific directory
instead. That's not what we have in mind when calling GetWindowsDirectory