1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
|
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: Jonathan Yong <10walls@gmail.com>
Date: Fri, 22 Dec 2017 13:01:03 +0000
Subject: [PATCH 2/2] 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/
diff --git a/mingw-w64-crt/lib32/dwmapi.def b/mingw-w64-crt/lib32/dwmapi.def
index 1111111..2222222 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 1111111..2222222 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
-
|