Skip to content

Commit 4a02e08

Browse files
authored
Merge pull request #23912 from alexrp/mingw-update
`mingw`: Update MinGW-w64 to 38c8142f660b6ba11e7c408f2de1e9f8bfaf839e.
2 parents f4c7290 + 78d6f1c commit 4a02e08

File tree

508 files changed

+7789
-8610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

508 files changed

+7789
-8610
lines changed

lib/libc/include/any-windows-any/_mingw.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,12 @@ limitations in handling dllimport attribute. */
246246
#define _UCRT
247247
#endif
248248

249+
#ifdef _UCRT
250+
# define __MINGW_UCRT_ASM_CALL(func) __MINGW_ASM_CALL(func)
251+
#else
252+
# define __MINGW_UCRT_ASM_CALL(func)
253+
#endif
254+
249255
#ifndef _WIN32_WINNT
250256
#define _WIN32_WINNT 0xa00
251257
#endif
@@ -384,7 +390,7 @@ typedef int __int128 __attribute__ ((__mode__ (TI)));
384390

385391
#ifndef __WIDL__
386392

387-
#if defined (_WIN32) && !defined (_WIN64) && !defined (__MINGW_USE_VC2005_COMPAT) && !defined (_UCRT)
393+
#if defined (_WIN32) && !defined (_WIN64) && !defined (__MINGW_USE_VC2005_COMPAT) && !defined (_UCRT) && !(defined (_TIME_BITS) && _TIME_BITS == 64)
388394
#ifndef _USE_32BIT_TIME_T
389395
#define _USE_32BIT_TIME_T
390396
#endif

lib/libc/include/any-windows-any/_mingw_mac.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
# define __MINGW_ATTRIB_DEPRECATED_MSVC2005
271271
#endif
272272

273-
#if !defined (_CRT_SECURE_NO_WARNINGS) || (_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES == 0)
273+
#if !defined (_CRT_SECURE_NO_WARNINGS)
274274
# define __MINGW_ATTRIB_DEPRECATED_SEC_WARN \
275275
__MINGW_ATTRIB_DEPRECATED_STR(__MINGW_SEC_WARN_STR)
276276
#else

lib/libc/include/any-windows-any/_mingw_stat64.h

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#ifndef _STAT_DEFINED
22

3+
/* __stat64 is needed for compatibility with msvc */
4+
#define __stat64 _stat64
5+
36
#ifdef _USE_32BIT_TIME_T
47
#define _fstat _fstat32
58
#define _fstati64 _fstat32i64
@@ -30,22 +33,6 @@
3033
__time32_t st_ctime;
3134
};
3235

33-
#ifndef NO_OLDNAMES
34-
struct stat {
35-
_dev_t st_dev;
36-
_ino_t st_ino;
37-
unsigned short st_mode;
38-
short st_nlink;
39-
short st_uid;
40-
short st_gid;
41-
_dev_t st_rdev;
42-
_off_t st_size;
43-
time_t st_atime;
44-
time_t st_mtime;
45-
time_t st_ctime;
46-
};
47-
#endif /* NO_OLDNAMES */
48-
4936
struct _stat32i64 {
5037
_dev_t st_dev;
5138
_ino_t st_ino;
@@ -88,9 +75,5 @@
8875
__time64_t st_ctime;
8976
};
9077

91-
#define __stat64 _stat64
92-
#define stat64 _stat64 /* for POSIX */
93-
#define fstat64 _fstat64 /* for POSIX */
94-
9578
#define _STAT_DEFINED
9679
#endif /* _STAT_DEFINED */

lib/libc/include/any-windows-any/accctrl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern "C" {
3232
SE_DS_OBJECT_ALL,
3333
SE_PROVIDER_DEFINED_OBJECT,
3434
SE_WMIGUID_OBJECT,
35-
SE_REGISTRY_WOW64_32KEY,
35+
SE_REGISTRY_WOW64_32KEY
3636
} SE_OBJECT_TYPE;
3737

3838
typedef enum _TRUSTEE_TYPE {
@@ -56,7 +56,7 @@ extern "C" {
5656

5757
typedef enum _MULTIPLE_TRUSTEE_OPERATION {
5858
NO_MULTIPLE_TRUSTEE,
59-
TRUSTEE_IS_IMPERSONATE,
59+
TRUSTEE_IS_IMPERSONATE
6060
} MULTIPLE_TRUSTEE_OPERATION;
6161

6262
typedef struct _OBJECTS_AND_SID {

lib/libc/include/any-windows-any/aclui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ extern "C" {
112112
SI_SHOW_OWNER_ACTIVATED,
113113
SI_SHOW_EFFECTIVE_ACTIVATED,
114114
SI_SHOW_SHARE_ACTIVATED,
115-
SI_SHOW_CENTRAL_POLICY_ACTIVATED,
115+
SI_SHOW_CENTRAL_POLICY_ACTIVATED
116116
} SI_PAGE_ACTIVATED;
117117

118118
#define GET_PAGE_TYPE(X) (UINT) ((X) &0x0000ffff)

lib/libc/include/any-windows-any/activation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/activation.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/activation.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/activaut.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/activaut.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/activaut.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/activdbg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/activdbg.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/activdbg.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/activdbg100.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/activdbg100.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/activdbg100.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/activprof.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/activprof.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/activprof.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/activscp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/activscp.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/activscp.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/adhoc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/adhoc.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/adhoc.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/af_irda.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
enum {
6161
LM_HB_Extension = 128,LM_HB1_PnP = 1,LM_HB1_PDA_Palmtop = 2,LM_HB1_Computer = 4,LM_HB1_Printer = 8,LM_HB1_Modem = 16,LM_HB1_Fax = 32,
62-
LM_HB1_LANAccess = 64,LM_HB2_Telephony = 1,LM_HB2_FileServer = 2,
62+
LM_HB1_LANAccess = 64,LM_HB2_Telephony = 1,LM_HB2_FileServer = 2
6363
};
6464

6565
#define LmCharSetASCII 0

lib/libc/include/any-windows-any/agtctl_i.c

Lines changed: 0 additions & 50 deletions
This file was deleted.

lib/libc/include/any-windows-any/agtsvr_i.c

Lines changed: 0 additions & 51 deletions
This file was deleted.

lib/libc/include/any-windows-any/alg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/alg.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/alg.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/alink.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ typedef enum _AssemblyFlags {
3535
afCleanModules = 0x00000002,
3636
afNoRefHash = 0x00000004,
3737
afNoDupTypeCheck = 0x00000008,
38-
afDupeCheckTypeFwds = 0x00000010,
38+
afDupeCheckTypeFwds = 0x00000010
3939
} AssemblyFlags;
4040

4141
EXTERN_GUID (CLSID_AssemblyLinker, 0xf7e02368, 0xa7f4, 0x471f, 0x8c, 0x5e, 0x98, 0x39, 0xed, 0x57, 0xcb, 0x5e);

lib/libc/include/any-windows-any/amstream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/amstream.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/amstream.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/amvideo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/amvideo.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/amvideo.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/aqadmtyp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#define QUEUE_ADMIN_MAX_BUFFER_REQUIRED 200
1111

1212
typedef enum tagQUEUE_ADMIN_VERSIONS {
13-
CURRENT_QUEUE_ADMIN_VERSION = 4,
13+
CURRENT_QUEUE_ADMIN_VERSION = 4
1414
} QUEUE_ADMIN_VERSIONS;
1515

1616
typedef struct tagMESSAGE_FILTER {
@@ -54,7 +54,7 @@ typedef enum tagMESSAGE_ENUM_FILTER_TYPE {
5454
MEF_N_OLDEST_MESSAGES = 0x80,
5555
MEF_FAILED = 0x100,
5656
MEF_ALL = 0x40000000,
57-
MEF_INVERTSENSE = 0x80000000,
57+
MEF_INVERTSENSE = 0x80000000
5858
} MESSAGE_ENUM_FILTER_TYPE;
5959

6060
typedef struct tagMESSAGE_ENUM_FILTER {

lib/libc/include/any-windows-any/asyncinfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/asyncinfo.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/asyncinfo.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/audioapotypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ typedef struct APO_CONNECTION_PROPERTY {
2929

3030
typedef enum {
3131
AUDIO_CURVE_TYPE_NONE = 0,
32-
AUDIO_CURVE_TYPE_WINDOWS_FADE = 1,
32+
AUDIO_CURVE_TYPE_WINDOWS_FADE = 1
3333
} AUDIO_CURVE_TYPE;
3434
#endif
3535

lib/libc/include/any-windows-any/audioclient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/audioclient.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/audioclient.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/audioendpoints.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/audioendpoints.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/audioendpoints.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/audiopolicy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/audiopolicy.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/audiopolicy.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/austream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/austream.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/austream.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/authz.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ extern "C" {
243243
AuthzAuditEventInfoOperationType,
244244
AuthzAuditEventInfoObjectType,
245245
AuthzAuditEventInfoObjectName,
246-
AuthzAuditEventInfoAdditionalInfo,
246+
AuthzAuditEventInfoAdditionalInfo
247247
} AUTHZ_AUDIT_EVENT_INFORMATION_CLASS;
248248

249249
AUTHZAPI WINBOOL WINAPI AuthzFreeAuditEvent (AUTHZ_AUDIT_EVENT_HANDLE hAuditEvent);

lib/libc/include/any-windows-any/bdaiface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/bdaiface.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/bdaiface.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

lib/libc/include/any-windows-any/bdaiface_enums.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/**
2-
* This file is part of the mingw-w64 runtime package.
3-
* No warranty is given; refer to the file DISCLAIMER within this package.
1+
/**
2+
* This file is part of the mingw-w64 runtime package.
3+
* No warranty is given; refer to the file DISCLAIMER within this package.
44
*/
55
#ifndef BDAIFACE_ENUMS_H
66
#define BDAIFACE_ENUMS_H

lib/libc/include/any-windows-any/bdatypes.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ typedef enum MEDIA_SAMPLE_CONTENT
6969

7070
typedef enum ISDBCAS_REQUEST_ID {
7171
ISDBCAS_REQUEST_ID_EMG = 0x38,
72-
ISDBCAS_REQUEST_ID_EMD = 0x3a,
72+
ISDBCAS_REQUEST_ID_EMD = 0x3a
7373
} ISDBCAS_REQUEST_ID;
7474

7575
typedef enum MUX_PID_TYPE {
@@ -299,7 +299,7 @@ typedef enum tagScanModulationTypes
299299
ScanModulationTypesMask_DVBC = BDA_MOD_64QAM | BDA_SCAN_MOD_128QAM |
300300
BDA_MOD_256QAM,
301301
BDA_SCAN_MOD_16APSK = 0x10000000,
302-
BDA_SCAN_MOD_32APSK = 0x20000000,
302+
BDA_SCAN_MOD_32APSK = 0x20000000
303303
} ScanModulationTypes;
304304

305305
#ifdef __WIDL__
@@ -460,7 +460,7 @@ typedef enum ApplicationTypeType {
460460
SCTE28_CopyProtection,
461461
SCTE28_Diagnostic,
462462
SCTE28_Undesignated,
463-
SCTE28_Reserved,
463+
SCTE28_Reserved
464464
} ApplicationTypeType;
465465

466466
#ifdef __WIDL__

lib/libc/include/any-windows-any/bits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*** Autogenerated by WIDL 10.0-rc1 from include/bits.idl - Do not edit ***/
1+
/*** Autogenerated by WIDL 10.4 from include/bits.idl - Do not edit ***/
22

33
#ifdef _WIN32
44
#ifndef __REQUIRED_RPCNDR_H_VERSION__

0 commit comments

Comments
 (0)