Skip to content

Commit

Permalink
Merge pull request #8990 from ziglang/mingw-w64-9.0.0
Browse files Browse the repository at this point in the history
upgrade to mingw-w64 9.0.0
  • Loading branch information
andrewrk committed Jun 4, 2021
2 parents 167754b + 6f4339b commit 2699232
Show file tree
Hide file tree
Showing 368 changed files with 56,735 additions and 39,115 deletions.
Empty file modified lib/libc/include/any-windows-any/KHR/khrplatform.h
100755 → 100644
Empty file.
12 changes: 10 additions & 2 deletions lib/libc/include/any-windows-any/_mingw.h
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ typedef int __int128 __attribute__ ((__mode__ (TI)));

#ifndef __WIDL__

#if defined (_WIN32) && !defined (_WIN64) && !defined (__MINGW_USE_VC2005_COMPAT)
#if defined (_WIN32) && !defined (_WIN64) && !defined (__MINGW_USE_VC2005_COMPAT) && !defined (_UCRT)
#ifndef _USE_32BIT_TIME_T
#define _USE_32BIT_TIME_T
#endif
Expand All @@ -378,7 +378,7 @@ typedef int __int128 __attribute__ ((__mode__ (TI)));
#endif

#ifndef UNALIGNED
#if defined(_M_IA64) || defined(_M_AMD64)
#if defined(__ia64__) || defined(__x86_64__)
#define UNALIGNED __unaligned
#else
#define UNALIGNED
Expand Down Expand Up @@ -580,7 +580,15 @@ extern "C" {
void __cdecl __debugbreak(void);
__MINGW_INTRIN_INLINE void __cdecl __debugbreak(void)
{
#if defined(__i386__) || defined(__x86_64__)
__asm__ __volatile__("int {$}3":);
#elif defined(__arm__)
__asm__ __volatile__("udf #1");
#elif defined(__aarch64__)
__asm__ __volatile__("brk #0xf000");
#else
__asm__ __volatile__("unimplemented");
#endif
}
#endif
#endif
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/any-windows-any/_mingw_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define __MINGW64_STRINGIFY(x) \
__STRINGIFY(x)

#define __MINGW64_VERSION_MAJOR 8
#define __MINGW64_VERSION_MAJOR 9
#define __MINGW64_VERSION_MINOR 0
#define __MINGW64_VERSION_BUGFIX 0

Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/any-windows-any/activation.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 4.12.1 from include/activation.idl - Do not edit ***/
/*** Autogenerated by WIDL 6.4 from include/activation.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/any-windows-any/activaut.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 4.12.1 from include/activaut.idl - Do not edit ***/
/*** Autogenerated by WIDL 6.4 from include/activaut.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down
5 changes: 4 additions & 1 deletion lib/libc/include/any-windows-any/activdbg.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 4.12.1 from include/activdbg.idl - Do not edit ***/
/*** Autogenerated by WIDL 6.4 from include/activdbg.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down Expand Up @@ -9223,6 +9223,8 @@ static FORCEINLINE HRESULT IProvideExpressionContexts_EnumExpressionContexts(IPr

#endif /* __IProvideExpressionContexts_INTERFACE_DEFINED__ */

#ifndef __ProcessDebugManagerLib_LIBRARY_DEFINED__
#define __ProcessDebugManagerLib_LIBRARY_DEFINED__

DEFINE_GUID(LIBID_ProcessDebugManagerLib, 0x78a51821, 0x51f4, 0x11d0, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64);

Expand Down Expand Up @@ -9776,6 +9778,7 @@ __CRT_UUID_DECL(DefaultDebugSessionProvider, 0x834128a2, 0x51f4, 0x11d0, 0x8f,0x
#endif
#endif

#endif /* __ProcessDebugManagerLib_LIBRARY_DEFINED__ */
#endif
#endif
/* Begin additional prototypes for all interfaces */
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/any-windows-any/activdbg100.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 4.12.1 from include/activdbg100.idl - Do not edit ***/
/*** Autogenerated by WIDL 6.4 from include/activdbg100.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down
12 changes: 6 additions & 6 deletions lib/libc/include/any-windows-any/activprof.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 4.12.1 from include/activprof.idl - Do not edit ***/
/*** Autogenerated by WIDL 6.4 from include/activprof.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down Expand Up @@ -105,14 +105,14 @@ DEFINE_GUID(IID_IActiveScriptProfilerHeapEnum, 0x32e4694e, 0xd37, 0x419b, 0xb9,
DEFINE_GUID(IID_IActiveScriptProfilerControl3, 0xb403015, 0xf381, 0x4023, 0xa5, 0xd0, 0x6f, 0xed, 0x7, 0x6d, 0xe7, 0x16);
#endif

typedef enum __WIDL_activprof_generated_name_00000002 {
typedef enum __WIDL_activprof_generated_name_0000000C {
PROFILER_SCRIPT_TYPE_USER = 0,
PROFILER_SCRIPT_TYPE_DYNAMIC = 1,
PROFILER_SCRIPT_TYPE_NATIVE = 2,
PROFILER_SCRIPT_TYPE_DOM = 3
} PROFILER_SCRIPT_TYPE;

typedef enum __WIDL_activprof_generated_name_00000003 {
typedef enum __WIDL_activprof_generated_name_0000000D {
PROFILER_EVENT_MASK_TRACE_SCRIPT_FUNCTION_CALL = 0x1,
PROFILER_EVENT_MASK_TRACE_NATIVE_FUNCTION_CALL = 0x2,
PROFILER_EVENT_MASK_TRACE_DOM_FUNCTION_CALL = 0x4,
Expand Down Expand Up @@ -346,7 +346,7 @@ typedef DWORD_PTR PROFILER_HEAP_OBJECT_ID;
typedef UINT PROFILER_HEAP_OBJECT_NAME_ID;
typedef void *PROFILER_EXTERNAL_OBJECT_ADDRESS;

typedef enum __WIDL_activprof_generated_name_00000004 {
typedef enum __WIDL_activprof_generated_name_0000000E {
PROFILER_HEAP_OBJECT_FLAGS_NEW_OBJECT = 0x1,
PROFILER_HEAP_OBJECT_FLAGS_IS_ROOT = 0x2,
PROFILER_HEAP_OBJECT_FLAGS_SITE_CLOSED = 0x4,
Expand All @@ -362,7 +362,7 @@ typedef enum __WIDL_activprof_generated_name_00000004 {
PROFILER_HEAP_OBJECT_FLAGS_WINRT_NAMESPACE = 0x1000
} PROFILER_HEAP_OBJECT_FLAGS;

typedef enum __WIDL_activprof_generated_name_00000005 {
typedef enum __WIDL_activprof_generated_name_0000000F {
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_PROTOTYPE = 0x1,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_FUNCTION_NAME = 0x2,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_SCOPE_LIST = 0x3,
Expand All @@ -381,7 +381,7 @@ typedef struct _PROFILER_HEAP_OBJECT_SCOPE_LIST {
PROFILER_HEAP_OBJECT_ID scopes[1];
} PROFILER_HEAP_OBJECT_SCOPE_LIST;

typedef enum __WIDL_activprof_generated_name_00000006 {
typedef enum __WIDL_activprof_generated_name_00000010 {
PROFILER_PROPERTY_TYPE_NUMBER = 0x1,
PROFILER_PROPERTY_TYPE_STRING = 0x2,
PROFILER_PROPERTY_TYPE_HEAP_OBJECT = 0x3,
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/any-windows-any/activscp.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 4.12.1 from include/activscp.idl - Do not edit ***/
/*** Autogenerated by WIDL 6.4 from include/activscp.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down
5 changes: 4 additions & 1 deletion lib/libc/include/any-windows-any/adhoc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 4.12.1 from include/adhoc.idl - Do not edit ***/
/*** Autogenerated by WIDL 6.4 from include/adhoc.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down Expand Up @@ -1438,6 +1438,8 @@ static FORCEINLINE HRESULT IDot11AdHocInterfaceNotificationSink_OnConnectionStat

#endif /* __IDot11AdHocInterfaceNotificationSink_INTERFACE_DEFINED__ */

#ifndef __ADHOCLib_LIBRARY_DEFINED__
#define __ADHOCLib_LIBRARY_DEFINED__

DEFINE_GUID(LIBID_ADHOCLib, 0x45357166, 0xff38, 0x4302, 0x8f,0x5c, 0xdf,0x5b,0x70,0x3a,0x6e,0x3d);

Expand All @@ -1454,6 +1456,7 @@ __CRT_UUID_DECL(Dot11AdHocManager, 0xdd06a84f, 0x83bd, 0x4d01, 0x8a,0xb9, 0x23,0
#endif
#endif

#endif /* __ADHOCLib_LIBRARY_DEFINED__ */
#endif
/* Begin additional prototypes for all interfaces */

Expand Down
5 changes: 4 additions & 1 deletion lib/libc/include/any-windows-any/alg.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 4.12.1 from include/alg.idl - Do not edit ***/
/*** Autogenerated by WIDL 6.4 from include/alg.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down Expand Up @@ -1477,6 +1477,8 @@ static FORCEINLINE HRESULT IApplicationGateway_Stop(IApplicationGateway* This) {

#endif /* __IApplicationGateway_INTERFACE_DEFINED__ */

#ifndef __ALGLib_LIBRARY_DEFINED__
#define __ALGLib_LIBRARY_DEFINED__

DEFINE_GUID(LIBID_ALGLib, 0xb6d1d098, 0xe235, 0x4b99, 0xba,0x98, 0x7c,0x62,0x4f,0xd8,0x75,0xdb);

Expand Down Expand Up @@ -1584,6 +1586,7 @@ __CRT_UUID_DECL(PersistentDataChannel, 0xbc9b54ab, 0x7883, 0x4c13, 0x90,0x9f, 0x
#endif
#endif

#endif /* __ALGLib_LIBRARY_DEFINED__ */
#endif
/* Begin additional prototypes for all interfaces */

Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/any-windows-any/amstream.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 5.16 from include/amstream.idl - Do not edit ***/
/*** Autogenerated by WIDL 6.4 from include/amstream.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down
Loading

0 comments on commit 2699232

Please sign in to comment.