* advapi32.cc (_ADVAPI32_): Drop definition.

* kernel32.cc (_KERNEL32_): Ditto.
	* winlean.h: Add definitions required to use Mingw64 headers.
	(FILE_SHARE_VALID_FLAGS): Drop definition.
This commit is contained in:
Corinna Vinschen
2012-07-06 13:43:05 +00:00
parent a02924944e
commit 261c701bf3
3 changed files with 24 additions and 13 deletions

View File

@ -8,10 +8,6 @@ This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
/* This define is required to tell the mingw64 headers to omit
declspec(dllimport) from all kernel32 function declarations. */
#define _KERNEL32_
#include "winsup.h"
#include "shared_info.h"
#include "ntdll.h"