diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/eliminator/eliminator.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eliminator/eliminator.coffee b/tools/eliminator/eliminator.coffee index 08407cd2..a4c98930 100644 --- a/tools/eliminator/eliminator.coffee +++ b/tools/eliminator/eliminator.coffee @@ -370,7 +370,7 @@ class ExpressionOptimizer # function, then writes the optimized result to stdout. main = -> # Get the parse tree. - if os.platform() != 'windows' + if os.platform().substr(0, 3) != 'win' src = fs.readFileSync('/dev/stdin').toString() else # The following seems to work on windows, but fails on linux.. |