You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
216 lines
6.3 KiB
216 lines
6.3 KiB
This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Mark Brand <mabrand@mabrand.nl>
|
|
Date: Sun, 29 Mar 2015 14:36:38 +0200
|
|
Subject: [PATCH 1/2] workaround for -isystem flag messing up include order
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=843436
|
|
|
|
diff --git a/mingw-w64-headers/crt/float.h b/mingw-w64-headers/crt/float.h
|
|
index 1111111..2222222 100644
|
|
--- a/mingw-w64-headers/crt/float.h
|
|
+++ b/mingw-w64-headers/crt/float.h
|
|
@@ -114,6 +114,15 @@
|
|
#define DBL_MAX_10_EXP __DBL_MAX_10_EXP__
|
|
#define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__
|
|
|
|
+ /* The difference between 1 and the least value greater than 1 that is
|
|
+ representable in the given floating point type, b**1-p. */
|
|
+ #undef FLT_EPSILON
|
|
+ #undef DBL_EPSILON
|
|
+ #undef LDBL_EPSILON
|
|
+ #define FLT_EPSILON __FLT_EPSILON__
|
|
+ #define DBL_EPSILON __DBL_EPSILON__
|
|
+ #define LDBL_EPSILON __LDBL_EPSILON__
|
|
+
|
|
/* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown. */
|
|
/* ??? This is supposed to change with calls to fesetround in <fenv.h>. */
|
|
#undef FLT_ROUNDS
|
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Mateusz <mateuszb@poczta.onet.pl>
|
|
Date: Mon, 22 Jan 2018 20:58:48 +0100
|
|
Subject: [PATCH 2/2] intrin-impl.h: do not define _xgetbv for GCC 8
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
GCC 8 from r248028 has defined function _xgetbv and we should
|
|
avoid double definition of this function.
|
|
|
|
Signed-off-by: Mateusz Brzostek <mateuszb@poczta.onet.pl>
|
|
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
diff --git a/mingw-w64-headers/include/psdk_inc/intrin-impl.h b/mingw-w64-headers/include/psdk_inc/intrin-impl.h
|
|
index 1111111..2222222 100644
|
|
--- a/mingw-w64-headers/include/psdk_inc/intrin-impl.h
|
|
+++ b/mingw-w64-headers/include/psdk_inc/intrin-impl.h
|
|
@@ -1405,6 +1405,7 @@ __buildmov(__movsd, unsigned __LONG32, "d")
|
|
#define __INTRINSIC_DEFINED___movsd
|
|
#endif /* __INTRINSIC_PROLOG */
|
|
|
|
+#if !defined(__GNUC__) || __GNUC__ < 8 /* GCC 8 has already defined _xgetbv */
|
|
/* NOTE: This should be in immintrin.h */
|
|
#if __INTRINSIC_PROLOG(_xgetbv)
|
|
unsigned __int64 _xgetbv(unsigned int);
|
|
@@ -1426,6 +1427,7 @@ unsigned __int64 _xgetbv(unsigned int index)
|
|
}
|
|
#define __INTRINSIC_DEFINED__xgetbv
|
|
#endif /* __INTRINSIC_PROLOG */
|
|
+#endif /* __GNUC__ < 8 */
|
|
|
|
#endif /* defined(__x86_64__) || defined(_AMD64_) || defined(__i386__) || defined(_X86_) */
|
|
|
|
From e9f10474cfd239bbb656a9d15163a439fc0efa78 Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Yong <10walls@gmail.com>
|
|
Date: Fri, 22 Dec 2017 13:01:03 +0000
|
|
Subject: [PATCH] dwmapi.def: Regenegerate from Windows 10
|
|
|
|
Remove ordinals from x86 library too.
|
|
|
|
Signed-off-by: Jonathan Yong <10walls@gmail.com>
|
|
|
|
Taken from: https://sourceforge.net/p/mingw-w64/mailman/message/36166386/
|
|
---
|
|
mingw-w64-crt/lib32/dwmapi.def | 44 ++++++++++++++----------------------------
|
|
mingw-w64-crt/lib64/dwmapi.def | 26 ++++++++++++++++++++++---
|
|
2 files changed, 38 insertions(+), 32 deletions(-)
|
|
|
|
diff --git a/mingw-w64-crt/lib32/dwmapi.def b/mingw-w64-crt/lib32/dwmapi.def
|
|
index 798116fb..96009459 100644
|
|
--- a/mingw-w64-crt/lib32/dwmapi.def
|
|
+++ b/mingw-w64-crt/lib32/dwmapi.def
|
|
@@ -5,47 +5,29 @@
|
|
;
|
|
LIBRARY "dwmapi.dll"
|
|
EXPORTS
|
|
-;ord_100@32 @100
|
|
-;ord_101@24 @101
|
|
+DwmpDxGetWindowSharedSurface@32
|
|
+DwmpDxUpdateWindowSharedSurface@24
|
|
DwmEnableComposition@4
|
|
-;ord_103@0 @103
|
|
-;ord_104@12 @104
|
|
-;ord_105@0 @105
|
|
-;ord_106@8 @106
|
|
-;ord_107@4 @107
|
|
-;ord_108@4 @108
|
|
-;ord_109@8 @109
|
|
-;ord_110@0 @110
|
|
DwmAttachMilContent@4
|
|
-;ord_112@4 @112
|
|
-;ord_113@16 @113
|
|
-;ord_114@8 @114
|
|
-;ord_115@4 @115
|
|
DwmDefWindowProc@20
|
|
DwmDetachMilContent@4
|
|
-;ord_118@8 @118
|
|
-;ord_119@8 @119
|
|
-;ord_120@8 @120
|
|
-;ord_121@8 @121
|
|
DwmEnableBlurBehindWindow@8
|
|
DwmEnableMMCSS@4
|
|
-;ord_124@20 @124
|
|
-;ord_125@12 @125
|
|
-;ord_126@8 @126
|
|
-;ord_127@4 @127
|
|
-;ord_128@4 @128
|
|
-;ord_129@4 @129
|
|
-;ord_130@0 @130
|
|
-;ord_131@8 @131
|
|
-;ord_132@8 @132
|
|
-;ord_133@36 @133
|
|
-;ord_134@8 @134
|
|
DwmExtendFrameIntoClientArea@8
|
|
DwmFlush@0
|
|
DwmGetColorizationColor@8
|
|
+DwmpDxBindSwapChain@12
|
|
+DwmpDxUnbindSwapChain@8
|
|
+DwmpDxgiIsThreadDesktopComposited@4
|
|
DwmGetCompositionTimingInfo@8
|
|
DwmGetGraphicsStreamClient@8
|
|
+DwmpDxUpdateWindowRedirectionBltSurface@36
|
|
+DwmpRenderFlick@12
|
|
+DwmpAllocateSecurityDescriptor@8
|
|
+DwmpFreeSecurityDescriptor@4
|
|
+DwmpEnableDDASupport@0
|
|
DwmGetGraphicsStreamTransformHint@8
|
|
+DwmTetherTextContact@20
|
|
DwmGetTransportAttributes@12
|
|
DwmGetWindowAttribute@16
|
|
DwmInvalidateIconicBitmaps@4
|
|
@@ -53,10 +35,14 @@ DwmIsCompositionEnabled@4
|
|
DwmModifyPreviousDxFrameDuration@12
|
|
DwmQueryThumbnailSourceSize@8
|
|
DwmRegisterThumbnail@12
|
|
+DwmRenderGesture@16
|
|
DwmSetDxFrameDuration@8
|
|
DwmSetIconicLivePreviewBitmap@16
|
|
DwmSetIconicThumbnail@12
|
|
DwmSetPresentParameters@8
|
|
DwmSetWindowAttribute@16
|
|
+DwmShowContact@8
|
|
+DwmTetherContact@16
|
|
+DwmTransitionOwnedWindow@8
|
|
DwmUnregisterThumbnail@4
|
|
DwmUpdateThumbnailProperties@8
|
|
diff --git a/mingw-w64-crt/lib64/dwmapi.def b/mingw-w64-crt/lib64/dwmapi.def
|
|
index 871947e5..d8bf23f1 100644
|
|
--- a/mingw-w64-crt/lib64/dwmapi.def
|
|
+++ b/mingw-w64-crt/lib64/dwmapi.def
|
|
@@ -1,8 +1,13 @@
|
|
;
|
|
-; Exports of file dwmapi.dll
|
|
+; Definition file of dwmapi.dll
|
|
+; Automatic generated by gendef
|
|
+; written by Kai Tietz 2008
|
|
;
|
|
-LIBRARY dwmapi.dll
|
|
+LIBRARY "dwmapi.dll"
|
|
EXPORTS
|
|
+DwmpDxGetWindowSharedSurface
|
|
+DwmpDxUpdateWindowSharedSurface
|
|
+DwmEnableComposition
|
|
DwmAttachMilContent
|
|
DwmDefWindowProc
|
|
DwmDetachMilContent
|
|
@@ -12,18 +17,33 @@ DwmEnableMMCSS
|
|
DwmExtendFrameIntoClientArea
|
|
DwmFlush
|
|
DwmGetColorizationColor
|
|
+DwmpDxBindSwapChain
|
|
+DwmpDxUnbindSwapChain
|
|
+DwmpDxgiIsThreadDesktopComposited
|
|
DwmGetCompositionTimingInfo
|
|
DwmGetGraphicsStreamClient
|
|
+DwmpDxUpdateWindowRedirectionBltSurface
|
|
+DwmpRenderFlick
|
|
+DwmpAllocateSecurityDescriptor
|
|
+DwmpFreeSecurityDescriptor
|
|
+DwmpEnableDDASupport
|
|
DwmGetGraphicsStreamTransformHint
|
|
+DwmTetherTextContact
|
|
DwmGetTransportAttributes
|
|
DwmGetWindowAttribute
|
|
+DwmInvalidateIconicBitmaps
|
|
DwmIsCompositionEnabled
|
|
DwmModifyPreviousDxFrameDuration
|
|
DwmQueryThumbnailSourceSize
|
|
DwmRegisterThumbnail
|
|
+DwmRenderGesture
|
|
DwmSetDxFrameDuration
|
|
+DwmSetIconicLivePreviewBitmap
|
|
+DwmSetIconicThumbnail
|
|
DwmSetPresentParameters
|
|
DwmSetWindowAttribute
|
|
+DwmShowContact
|
|
+DwmTetherContact
|
|
+DwmTransitionOwnedWindow
|
|
DwmUnregisterThumbnail
|
|
DwmUpdateThumbnailProperties
|
|
-
|
|
--
|
|
2.13.6
|
|
|