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:
authorCorinna Vinschen <corinna@vinschen.de>2001-05-17 19:16:37 +0400
committerCorinna Vinschen <corinna@vinschen.de>2001-05-17 19:16:37 +0400
commita69eb9099b22e00e732027af62c701165e209648 (patch)
tree969442f032093c2b095a3ca470a52f17dbed1e78 /winsup/w32api/include/ntdef.h
parent4293884185ef22d39b53c1e550c980df8921f6a5 (diff)
* include/ntdef.h: Protect definition of OBJECT_ATTRIBUTES against
previous definition in include/ntsecapi.h. * include/ntsecapi.h: Vice versa.
Diffstat (limited to 'winsup/w32api/include/ntdef.h')
-rw-r--r--winsup/w32api/include/ntdef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/w32api/include/ntdef.h b/winsup/w32api/include/ntdef.h
index f4f990747..623a71492 100644
--- a/winsup/w32api/include/ntdef.h
+++ b/winsup/w32api/include/ntdef.h
@@ -38,6 +38,7 @@ typedef enum _SECTION_INHERIT {
ViewShare = 1,
ViewUnmap = 2
} SECTION_INHERIT;
+#if !defined(_NTSECAPI_H)
typedef struct _OBJECT_ATTRIBUTES {
ULONG Length;
HANDLE RootDirectory;
@@ -46,4 +47,5 @@ typedef struct _OBJECT_ATTRIBUTES {
PVOID SecurityDescriptor;
PVOID SecurityQualityOfService;
} OBJECT_ATTRIBUTES, *POBJECT_ATTRIBUTES;
+#endif
#endif /* _NTDEF_H */