Skip to content

Commit

Permalink
Bug 1430149 - Fix NtUndoc.h on mingw. r=aklotz
Browse files Browse the repository at this point in the history
mingw headers declare both ObjectNameInformation and OBJECT_NAME_INFORMATION, which conflicts with local definitions.
  • Loading branch information
cjacek committed Dec 25, 2018
1 parent ffda6fc commit facaa2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions accessible/windows/msaa/NtUndoc.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ struct SYSTEM_HANDLE_INFORMATION_EX {
SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX mHandles[1];
};

#ifndef __MINGW32__
enum UndocObjectInformationClass { ObjectNameInformation = 1 };

struct OBJECT_NAME_INFORMATION {
UNICODE_STRING mName;
};
#endif

// The following declarations are documented on MSDN but are not included in
// public user-mode headers.
Expand Down

0 comments on commit facaa2f

Please sign in to comment.