* exceptions.cc (RtlUnwind): Align declaration with MSDN.

* ntdll.h: Define CreateDisposition Flags.  Add comments.
	* winlean.h: Define FILE_SHARE_VALID_FLAGS if using Mingw64 headers.
This commit is contained in:
Corinna Vinschen
2012-06-28 14:06:06 +00:00
parent 27c4e2e1ee
commit 06e429fd6d
4 changed files with 43 additions and 1 deletions

View File

@ -37,4 +37,9 @@ details. */
use this function. Use GetSystemWindowsDirectoryW. */
#define GetWindowsDirectoryW dont_use_GetWindowsDirectory
#define GetWindowsDirectoryA dont_use_GetWindowsDirectory
/* FILE_SHARE_VALID_FLAGS is a Mingw32 invention not backed by the system
headers. Therefore it's not defined by Mingw64, either. */
#ifdef __MINGW64_VERSION_MAJOR
#define FILE_SHARE_VALID_FLAGS (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE)
#endif
#endif /*_WINLEAN_H*/