mirror of https://github.com/nodejs/node.git
win: bring back xp/2k3 support
Chrome still runs on Windows XP, so there is no reason that iojs couldn't. PR: https://github.com/iojs/io.js/pull/512 Reviewed-by: Ben Noordhuis <info@bnoordhuis.nl>pull/512/head
parent
4dd22b946e
commit
e8d08503c7
20
common.gypi
20
common.gypi
|
@ -141,8 +141,21 @@
|
||||||
},
|
},
|
||||||
'VCLinkerTool': {
|
'VCLinkerTool': {
|
||||||
'conditions': [
|
'conditions': [
|
||||||
|
['target_arch=="ia32"', {
|
||||||
|
'TargetMachine' : 1, # /MACHINE:X86
|
||||||
|
'target_conditions': [
|
||||||
|
['_type=="executable"', {
|
||||||
|
'AdditionalOptions': [ '/SubSystem:Console,"5.01"' ],
|
||||||
|
}],
|
||||||
|
],
|
||||||
|
}],
|
||||||
['target_arch=="x64"', {
|
['target_arch=="x64"', {
|
||||||
'TargetMachine' : 17 # /MACHINE:X64
|
'TargetMachine' : 17, # /MACHINE:AMD64
|
||||||
|
'target_conditions': [
|
||||||
|
['_type=="executable"', {
|
||||||
|
'AdditionalOptions': [ '/SubSystem:Console,"5.02"' ],
|
||||||
|
}],
|
||||||
|
],
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
'GenerateDebugInformation': 'true',
|
'GenerateDebugInformation': 'true',
|
||||||
|
@ -150,11 +163,6 @@
|
||||||
'DataExecutionPrevention': 2, # enable DEP
|
'DataExecutionPrevention': 2, # enable DEP
|
||||||
'AllowIsolation': 'true',
|
'AllowIsolation': 'true',
|
||||||
'SuppressStartupBanner': 'true',
|
'SuppressStartupBanner': 'true',
|
||||||
'target_conditions': [
|
|
||||||
['_type=="executable"', {
|
|
||||||
'SubSystem': 1, # console executable
|
|
||||||
}],
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'msvs_disabled_warnings': [4351, 4355, 4800],
|
'msvs_disabled_warnings': [4351, 4355, 4800],
|
||||||
|
|
3
node.gyp
3
node.gyp
|
@ -378,9 +378,6 @@
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
'msvs_settings': {
|
'msvs_settings': {
|
||||||
'VCLinkerTool': {
|
|
||||||
'SubSystem': 1, # /subsystem:console
|
|
||||||
},
|
|
||||||
'VCManifestTool': {
|
'VCManifestTool': {
|
||||||
'EmbedManifest': 'true',
|
'EmbedManifest': 'true',
|
||||||
'AdditionalManifestFiles': 'src/res/node.exe.extra.manifest'
|
'AdditionalManifestFiles': 'src/res/node.exe.extra.manifest'
|
||||||
|
|
Loading…
Reference in New Issue