* configure.ac (BASEHEAD_LIST): Add additional required basic-
        headers.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5132 4407c894-4637-0410-b4f5-ada5f102cad1
	* configure.ac (BASEHEAD_LIST): Add _cygwin.h.
	* configure: Regenerate.

	* _cygwin.h: New file.
	* _mingw.h.in: Include _cygwin.h when building a Cygwin application.
	Allow building Cygwin applications even though _WIN32 isn't defined.
	* vadefs.h: Drop test for _WIN32 since it's done in _mingw.h.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5133 4407c894-4637-0410-b4f5-ada5f102cad1
        * wincrypt.h (WINADVAPI): Define as non-import iff
        _ADVAPI32_ was defined.
        * wincred.h: Likewise.
        * winsvc.h: Likewise.
        * perflib.h: Likewise.
        * winbase.h: Likewise.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5134 4407c894-4637-0410-b4f5-ada5f102cad1
Add new header sal.h for sake of _In_ and _Out_ definition.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5135 4407c894-4637-0410-b4f5-ada5f102cad1
	* include/stralign.h: Fix and add #endif comments.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5136 4407c894-4637-0410-b4f5-ada5f102cad1
	* configure.ac (BASEHEAD_LIST): Add crt/_bsd_types.h, crt/_timeval.h,
	and crt/excpt.h.
	(SECHEAD_LIST): Define to include crt/sec_api/stralign_s.h by default.
	* configure: Regenerate.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5137 4407c894-4637-0410-b4f5-ada5f102cad1
Fix ChangeLog entry.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5138 4407c894-4637-0410-b4f5-ada5f102cad1
	* _cygwin.h: Include stddef.h.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5139 4407c894-4637-0410-b4f5-ada5f102cad1
Include sal.h in specstrings.h

git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5140 4407c894-4637-0410-b4f5-ada5f102cad1
Replace 'w64 mingw-runtime' by 'mingw-w64 runtime'

Also replace 'This file is a part of' by 'This file is part of' for consistency

git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5147 4407c894-4637-0410-b4f5-ada5f102cad1
	* ntdef.h (PHYSICAL_ADDRESS): Define unconditionally.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5148 4407c894-4637-0410-b4f5-ada5f102cad1
Create dxva.h and move DXVA_* structs  and GUID from dxva2api.h

MS SDK defines these in dxva.h
Reference: http://lists.libav.org/pipermail/libav-devel/2012-June/029098.html

git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5149 4407c894-4637-0410-b4f5-ada5f102cad1
	* winsock2.h (__WSAFDIsSet): Move declaration to psdk_inv/_fd_type.h.
	(FD_CLR): Move definition to psdk_inv/_fd_type.h.
	(FD_ZERO): Ditto.
	(FD_ISSET): Ditto.
	(FD_SET): Ditto.
	(htonl): Don't declare when building Cygwin.
	(htons): Ditto.
	(ntohl): Ditto.
	(ntohs): Ditto.
	(gethostname): Ditto.
	(select): Ditto.
	* winsock.h: Ditto.
	* psdk_inc/_fd_types.h: Add Cygwin build environment magic to avoid
	multiple definition of the select function related datatypes and macros.
	(__WSAFDIsSet): Declare here.
	(FD_CLR): Define here.
	(FD_ZERO): Ditto.
	(FD_ISSET): Ditto.
	(FD_SET): Ditto.  Make sure to undef FD_SET first, if it has been
	defined from winsock.h before.
	* psdk_inc/_ip_types.h: Rearrange slightly and don't define POSIX
	compatible datatypes when building Cygwin.
	* psdk_inc/_ws1_undef.h (FD_CLR): Drop #undef.
	(FD_ZERO): Ditto.
	(FD_ISSET): Ditto.
	(FD_SET): Ditto.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5153 4407c894-4637-0410-b4f5-ada5f102cad1
	* ntdef.h (FILE_ATTRIBUTE_VALID_FLAGS): Define.
	(FILE_SHARE_VALID_FLAGS): Define.
	(FILE_SUPERSEDE, ...): Define native file creation dispositions.
	(FILE_DIRECTORY_FILE, ...): Define native file open options.
	(struct _REPARSE_DATA_BUFFER): Define.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5154 4407c894-4637-0410-b4f5-ada5f102cad1
	* psdk_inc/_ip_types.h (sockaddr_in): Define unconditionally.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5155 4407c894-4637-0410-b4f5-ada5f102cad1
	* wincrypt.h (WINBASEAPI): Define as non-import iff
	_KERNEL32_ was defined.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5156 4407c894-4637-0410-b4f5-ada5f102cad1
Moved srtuct declarations from _mingw.h to crtdefs.h

git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5161 4407c894-4637-0410-b4f5-ada5f102cad1
        * setjmp.h (setjmp): Use frame-address builtin.
        Reformat #if/#else block.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5162 4407c894-4637-0410-b4f5-ada5f102cad1
* _mingw_mac.h (__MINGW_GCC_VERSION): New macro.
* setjmp.h (setjmp): Use mingw_getsp() with gcc < 4.7.2.

git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5163 4407c894-4637-0410-b4f5-ada5f102cad1
Cast via integer-scalar to avoid strict-aliasing issue.


git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5165 4407c894-4637-0410-b4f5-ada5f102cad1