summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2019-05-29 17:14:45 +0200
committerDamien George <damien.p.george@gmail.com>2019-09-18 22:13:26 +1000
commitb2b21839d374e480b900e102cfd0010233b43543 (patch)
tree7dd9e690535dcd975bad25b8018561b3d91e3d5c
parent62d78e231ceb41eecdc3180cae6f07d790cd33d8 (diff)
windows/msvc: Remove unneeded definitions for qstr generation.
These were probably added to detect more qstrs but as long as the micropython executable itself doesn't use the same build options the qstrs would be unused anyway. Furthermore these definitions are for internal use and get enabled when corresponding MICROPY_EMIT_XXX are defined, in which case the compiler would warn about symbol redefinitions since they'd be defined both here and in the source.
-rw-r--r--ports/windows/msvc/genhdr.targets2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/windows/msvc/genhdr.targets b/ports/windows/msvc/genhdr.targets
index db8cfea7d..5382b79d9 100644
--- a/ports/windows/msvc/genhdr.targets
+++ b/ports/windows/msvc/genhdr.targets
@@ -54,7 +54,7 @@ using(var outFile = System.IO.File.CreateText(OutputFile)) {
<Target Name="MakeQstrDefs" DependsOnTargets="MakeDestDir" Inputs="@(ClCompile);@(QstrDependencies)" Outputs="$(QstrDefsCollected)">
<ItemGroup>
<PyIncDirs Include="$(PyIncDirs)"/>
- <PreProcDefs Include="%(ClCompile.PreProcessorDefinitions);NO_QSTR;N_X64;N_X86;N_THUMB;N_ARM"/>
+ <PreProcDefs Include="%(ClCompile.PreProcessorDefinitions);NO_QSTR"/>
<PyQstrSourceFiles Include="@(ClCompile)">
<OutFile>$([System.String]::new('%(FullPath)').Replace('$(PyBaseDir)', '$(DestDir)qstr\'))</OutFile>
</PyQstrSourceFiles>