Created
September 16, 2013 14:24
-
-
Save berkus/6581383 to your computer and use it in GitHub Desktop.
brew ninja 1.3.4 patch on OSX Mavericks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ninja-1.3.4/src/manifest_parser.cc.orig 2013-09-16 17:23:25.000000000 +0300 | |
+++ ninja-1.3.4/src/manifest_parser.cc 2013-09-16 17:23:31.000000000 +0300 | |
@@ -121,7 +121,7 @@ | |
if (key == "depth") { | |
string depth_string = value.Evaluate(env_); | |
- depth = atol(depth_string.c_str()); | |
+ depth = stol(depth_string.c_str()); | |
if (depth < 0) | |
return lexer_.Error("invalid pool depth", err); | |
} else { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment