Skip to content

Commit

Permalink
win: bring back xp/2k3 support
Browse files Browse the repository at this point in the history
Chrome still runs on Windows XP, so there is no reason that iojs
couldn't.

PR: #512
Reviewed-by: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
piscisaureus committed Jan 19, 2015
1 parent 4dd22b9 commit e8d0850
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
20 changes: 14 additions & 6 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -141,20 +141,28 @@
},
'VCLinkerTool': {
'conditions': [
['target_arch=="ia32"', {
'TargetMachine' : 1, # /MACHINE:X86
'target_conditions': [
['_type=="executable"', {
'AdditionalOptions': [ '/SubSystem:Console,"5.01"' ],
}],
],
}],
['target_arch=="x64"', {
'TargetMachine' : 17 # /MACHINE:X64
'TargetMachine' : 17, # /MACHINE:AMD64
'target_conditions': [
['_type=="executable"', {
'AdditionalOptions': [ '/SubSystem:Console,"5.02"' ],
}],
],
}],
],
'GenerateDebugInformation': 'true',
'RandomizedBaseAddress': 2, # enable ASLR
'DataExecutionPrevention': 2, # enable DEP
'AllowIsolation': 'true',
'SuppressStartupBanner': 'true',
'target_conditions': [
['_type=="executable"', {
'SubSystem': 1, # console executable
}],
],
},
},
'msvs_disabled_warnings': [4351, 4355, 4800],
Expand Down
3 changes: 0 additions & 3 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,6 @@
}],
],
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': 1, # /subsystem:console
},
'VCManifestTool': {
'EmbedManifest': 'true',
'AdditionalManifestFiles': 'src/res/node.exe.extra.manifest'
Expand Down

2 comments on commit e8d0850

@orangemocha
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@piscisaureus do you happen to know what caused this regression? Users reported that 0.12.2 was working, but in my tests the same problem is there.

@orangemocha
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@piscisaureus, don't worry about it, we figured it out: nodejs/node-v0.x-archive#25348 (comment)

Thanks for this fix!

Please sign in to comment.