Skip to content

mingw: Update MinGW-w64 to 38c8142f660b6ba11e7c408f2de1e9f8bfaf839e. #23912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion lib/libc/include/any-windows-any/_mingw.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,12 @@ limitations in handling dllimport attribute. */
#define _UCRT
#endif

#ifdef _UCRT
# define __MINGW_UCRT_ASM_CALL(func) __MINGW_ASM_CALL(func)
#else
# define __MINGW_UCRT_ASM_CALL(func)
#endif

#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0xa00
#endif
Expand Down Expand Up @@ -384,7 +390,7 @@ typedef int __int128 __attribute__ ((__mode__ (TI)));

#ifndef __WIDL__

#if defined (_WIN32) && !defined (_WIN64) && !defined (__MINGW_USE_VC2005_COMPAT) && !defined (_UCRT)
#if defined (_WIN32) && !defined (_WIN64) && !defined (__MINGW_USE_VC2005_COMPAT) && !defined (_UCRT) && !(defined (_TIME_BITS) && _TIME_BITS == 64)
#ifndef _USE_32BIT_TIME_T
#define _USE_32BIT_TIME_T
#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 @@ -270,7 +270,7 @@
# define __MINGW_ATTRIB_DEPRECATED_MSVC2005
#endif

#if !defined (_CRT_SECURE_NO_WARNINGS) || (_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES == 0)
#if !defined (_CRT_SECURE_NO_WARNINGS)
# define __MINGW_ATTRIB_DEPRECATED_SEC_WARN \
__MINGW_ATTRIB_DEPRECATED_STR(__MINGW_SEC_WARN_STR)
#else
Expand Down
23 changes: 3 additions & 20 deletions lib/libc/include/any-windows-any/_mingw_stat64.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#ifndef _STAT_DEFINED

/* __stat64 is needed for compatibility with msvc */
#define __stat64 _stat64

#ifdef _USE_32BIT_TIME_T
#define _fstat _fstat32
#define _fstati64 _fstat32i64
Expand Down Expand Up @@ -30,22 +33,6 @@
__time32_t st_ctime;
};

#ifndef NO_OLDNAMES
struct stat {
_dev_t st_dev;
_ino_t st_ino;
unsigned short st_mode;
short st_nlink;
short st_uid;
short st_gid;
_dev_t st_rdev;
_off_t st_size;
time_t st_atime;
time_t st_mtime;
time_t st_ctime;
};
#endif /* NO_OLDNAMES */

struct _stat32i64 {
_dev_t st_dev;
_ino_t st_ino;
Expand Down Expand Up @@ -88,9 +75,5 @@
__time64_t st_ctime;
};

#define __stat64 _stat64
#define stat64 _stat64 /* for POSIX */
#define fstat64 _fstat64 /* for POSIX */

#define _STAT_DEFINED
#endif /* _STAT_DEFINED */
4 changes: 2 additions & 2 deletions lib/libc/include/any-windows-any/accctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extern "C" {
SE_DS_OBJECT_ALL,
SE_PROVIDER_DEFINED_OBJECT,
SE_WMIGUID_OBJECT,
SE_REGISTRY_WOW64_32KEY,
SE_REGISTRY_WOW64_32KEY
} SE_OBJECT_TYPE;

typedef enum _TRUSTEE_TYPE {
Expand All @@ -56,7 +56,7 @@ extern "C" {

typedef enum _MULTIPLE_TRUSTEE_OPERATION {
NO_MULTIPLE_TRUSTEE,
TRUSTEE_IS_IMPERSONATE,
TRUSTEE_IS_IMPERSONATE
} MULTIPLE_TRUSTEE_OPERATION;

typedef struct _OBJECTS_AND_SID {
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/any-windows-any/aclui.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ extern "C" {
SI_SHOW_OWNER_ACTIVATED,
SI_SHOW_EFFECTIVE_ACTIVATED,
SI_SHOW_SHARE_ACTIVATED,
SI_SHOW_CENTRAL_POLICY_ACTIVATED,
SI_SHOW_CENTRAL_POLICY_ACTIVATED
} SI_PAGE_ACTIVATED;

#define GET_PAGE_TYPE(X) (UINT) ((X) &0x0000ffff)
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 10.0-rc1 from include/activation.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.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 10.0-rc1 from include/activaut.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/activaut.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/activdbg.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/activdbg.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/activdbg.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/activdbg100.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/activdbg100.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/activdbg100.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/activprof.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/activprof.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/activprof.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/activscp.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/activscp.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/activscp.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/adhoc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/adhoc.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/adhoc.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/af_irda.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

enum {
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,
LM_HB1_LANAccess = 64,LM_HB2_Telephony = 1,LM_HB2_FileServer = 2,
LM_HB1_LANAccess = 64,LM_HB2_Telephony = 1,LM_HB2_FileServer = 2
};

#define LmCharSetASCII 0
Expand Down
50 changes: 0 additions & 50 deletions lib/libc/include/any-windows-any/agtctl_i.c

This file was deleted.

51 changes: 0 additions & 51 deletions lib/libc/include/any-windows-any/agtsvr_i.c

This file was deleted.

2 changes: 1 addition & 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 10.0-rc1 from include/alg.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/alg.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/alink.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ typedef enum _AssemblyFlags {
afCleanModules = 0x00000002,
afNoRefHash = 0x00000004,
afNoDupTypeCheck = 0x00000008,
afDupeCheckTypeFwds = 0x00000010,
afDupeCheckTypeFwds = 0x00000010
} AssemblyFlags;

EXTERN_GUID (CLSID_AssemblyLinker, 0xf7e02368, 0xa7f4, 0x471f, 0x8c, 0x5e, 0x98, 0x39, 0xed, 0x57, 0xcb, 0x5e);
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 10.0-rc1 from include/amstream.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/amstream.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/amvideo.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/amvideo.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/amvideo.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down
4 changes: 2 additions & 2 deletions lib/libc/include/any-windows-any/aqadmtyp.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define QUEUE_ADMIN_MAX_BUFFER_REQUIRED 200

typedef enum tagQUEUE_ADMIN_VERSIONS {
CURRENT_QUEUE_ADMIN_VERSION = 4,
CURRENT_QUEUE_ADMIN_VERSION = 4
} QUEUE_ADMIN_VERSIONS;

typedef struct tagMESSAGE_FILTER {
Expand Down Expand Up @@ -54,7 +54,7 @@ typedef enum tagMESSAGE_ENUM_FILTER_TYPE {
MEF_N_OLDEST_MESSAGES = 0x80,
MEF_FAILED = 0x100,
MEF_ALL = 0x40000000,
MEF_INVERTSENSE = 0x80000000,
MEF_INVERTSENSE = 0x80000000
} MESSAGE_ENUM_FILTER_TYPE;

typedef struct tagMESSAGE_ENUM_FILTER {
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/any-windows-any/asyncinfo.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/asyncinfo.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/asyncinfo.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/audioapotypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ typedef struct APO_CONNECTION_PROPERTY {

typedef enum {
AUDIO_CURVE_TYPE_NONE = 0,
AUDIO_CURVE_TYPE_WINDOWS_FADE = 1,
AUDIO_CURVE_TYPE_WINDOWS_FADE = 1
} AUDIO_CURVE_TYPE;
#endif

Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/any-windows-any/audioclient.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/audioclient.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/audioclient.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/audioendpoints.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/audioendpoints.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/audioendpoints.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/audiopolicy.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/audiopolicy.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/audiopolicy.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/austream.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/austream.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/austream.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/authz.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ extern "C" {
AuthzAuditEventInfoOperationType,
AuthzAuditEventInfoObjectType,
AuthzAuditEventInfoObjectName,
AuthzAuditEventInfoAdditionalInfo,
AuthzAuditEventInfoAdditionalInfo
} AUTHZ_AUDIT_EVENT_INFORMATION_CLASS;

AUTHZAPI WINBOOL WINAPI AuthzFreeAuditEvent (AUTHZ_AUDIT_EVENT_HANDLE hAuditEvent);
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/any-windows-any/bdaiface.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/bdaiface.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/bdaiface.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down
6 changes: 3 additions & 3 deletions lib/libc/include/any-windows-any/bdaiface_enums.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
/**
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
#ifndef BDAIFACE_ENUMS_H
#define BDAIFACE_ENUMS_H
Expand Down
6 changes: 3 additions & 3 deletions lib/libc/include/any-windows-any/bdatypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ typedef enum MEDIA_SAMPLE_CONTENT

typedef enum ISDBCAS_REQUEST_ID {
ISDBCAS_REQUEST_ID_EMG = 0x38,
ISDBCAS_REQUEST_ID_EMD = 0x3a,
ISDBCAS_REQUEST_ID_EMD = 0x3a
} ISDBCAS_REQUEST_ID;

typedef enum MUX_PID_TYPE {
Expand Down Expand Up @@ -299,7 +299,7 @@ typedef enum tagScanModulationTypes
ScanModulationTypesMask_DVBC = BDA_MOD_64QAM | BDA_SCAN_MOD_128QAM |
BDA_MOD_256QAM,
BDA_SCAN_MOD_16APSK = 0x10000000,
BDA_SCAN_MOD_32APSK = 0x20000000,
BDA_SCAN_MOD_32APSK = 0x20000000
} ScanModulationTypes;

#ifdef __WIDL__
Expand Down Expand Up @@ -460,7 +460,7 @@ typedef enum ApplicationTypeType {
SCTE28_CopyProtection,
SCTE28_Diagnostic,
SCTE28_Undesignated,
SCTE28_Reserved,
SCTE28_Reserved
} ApplicationTypeType;

#ifdef __WIDL__
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/any-windows-any/bits.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 10.0-rc1 from include/bits.idl - Do not edit ***/
/*** Autogenerated by WIDL 10.4 from include/bits.idl - Do not edit ***/

#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
Expand Down
Loading
Loading