[3.4] bpo-31170: Fix inclusion of expat in Windows build projects (#3… · python/cpython@8b11e8d (original) (raw)
`@@ -152,7 +152,7 @@
`
152
152
`
`
153
153
`
`
154
154
` ...\Modules\expat;%(AdditionalIncludeDirectories)
`
155
``
`-
PYEXPAT_EXPORTS;HAVE_EXPAT_H;XML_NS;XML_DTD;BYTEORDER=1234;XML_CONTEXT_BYTES=1024;XML_STATIC;HAVE_MEMMOVE;%(PreprocessorDefinitions)
`
``
155
`+
_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)
`
156
156
`
`
157
157
`
`
158
158
`
`
`@@ -161,13 +161,13 @@
`
161
161
`
`
162
162
`
`
163
163
` ...\Modules\expat;%(AdditionalIncludeDirectories)
`
164
``
`-
PYEXPAT_EXPORTS;HAVE_EXPAT_H;XML_NS;XML_DTD;BYTEORDER=1234;XML_CONTEXT_BYTES=1024;XML_STATIC;HAVE_MEMMOVE;%(PreprocessorDefinitions)
`
``
164
`+
_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)
`
165
165
`
`
166
166
`
`
167
167
`
`
168
168
`
`
169
169
` ...\Modules\expat;%(AdditionalIncludeDirectories)
`
170
``
`-
PYEXPAT_EXPORTS;HAVE_EXPAT_H;XML_NS;XML_DTD;BYTEORDER=1234;XML_CONTEXT_BYTES=1024;XML_STATIC;HAVE_MEMMOVE;%(PreprocessorDefinitions)
`
``
170
`+
_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)
`
171
171
`
`
172
172
`
`
173
173
`
`
`@@ -176,13 +176,13 @@
`
176
176
`
`
177
177
`
`
178
178
` ...\Modules\expat;%(AdditionalIncludeDirectories)
`
179
``
`-
PYEXPAT_EXPORTS;HAVE_EXPAT_H;XML_NS;XML_DTD;BYTEORDER=1234;XML_CONTEXT_BYTES=1024;XML_STATIC;HAVE_MEMMOVE;%(PreprocessorDefinitions)
`
``
179
`+
_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)
`
180
180
`
`
181
181
`
`
182
182
`
`
183
183
`
`
184
184
` ...\Modules\expat;%(AdditionalIncludeDirectories)
`
185
``
`-
PYEXPAT_EXPORTS;HAVE_EXPAT_H;XML_NS;XML_DTD;BYTEORDER=1234;XML_CONTEXT_BYTES=1024;XML_STATIC;HAVE_MEMMOVE;%(PreprocessorDefinitions)
`
``
185
`+
_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)
`
186
186
`
`
187
187
`
`
188
188
`
`
`@@ -191,7 +191,7 @@
`
191
191
`
`
192
192
`
`
193
193
` ...\Modules\expat;%(AdditionalIncludeDirectories)
`
194
``
`-
PYEXPAT_EXPORTS;HAVE_EXPAT_H;XML_NS;XML_DTD;BYTEORDER=1234;XML_CONTEXT_BYTES=1024;XML_STATIC;HAVE_MEMMOVE;%(PreprocessorDefinitions)
`
``
194
`+
_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)
`
195
195
`
`
196
196
`
`
197
197
` MachineX64
`
`@@ -200,7 +200,7 @@
`
200
200
`
`
201
201
`
`
202
202
` ...\Modules\expat;%(AdditionalIncludeDirectories)
`
203
``
`-
PYEXPAT_EXPORTS;HAVE_EXPAT_H;XML_NS;XML_DTD;BYTEORDER=1234;XML_CONTEXT_BYTES=1024;XML_STATIC;HAVE_MEMMOVE;%(PreprocessorDefinitions)
`
``
203
`+
_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)
`
204
204
`
`
205
205
`
`
206
206
`
`
`@@ -209,7 +209,7 @@
`
209
209
`
`
210
210
`
`
211
211
` ...\Modules\expat;%(AdditionalIncludeDirectories)
`
212
``
`-
PYEXPAT_EXPORTS;HAVE_EXPAT_H;XML_NS;XML_DTD;BYTEORDER=1234;XML_CONTEXT_BYTES=1024;XML_STATIC;HAVE_MEMMOVE;%(PreprocessorDefinitions)
`
``
212
`+
_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)
`
213
213
`
`
214
214
`
`
215
215
` MachineX64
`
`@@ -220,6 +220,7 @@
`
220
220
`
`
221
221
`
`
222
222
`
`
``
223
`+
`
223
224
`
`
224
225
`
`
225
226
`
`
`@@ -234,4 +235,4 @@
`
234
235
`
`
235
236
`
`
236
237
`
`
237
``
`-
`
``
238
`+
`