Use __DEFINE_CPP_OVERLOAD_SECURE_FUNC_* macros instead of __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_*.

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@6312 4407c894-4637-0410-b4f5-ada5f102cad1
_mingw_sec.h: Moved __CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_0_2_ to crtdefs.h and make them compatible with MSVC.

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@6313 4407c894-4637-0410-b4f5-ada5f102cad1
Use for FIELD_OFFSET __builtin_offsetof instead of emulation-code via struct-cast.  Additionally we synchronize here macro with variant in ntdll.h and with crt's stddef.h's offsetof macro.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@6317 4407c894-4637-0410-b4f5-ada5f102cad1
Add missing define for DI_WRITEPROTECT.


git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@6318 4407c894-4637-0410-b4f5-ada5f102cad1