diff options
author | Scott Graham <scottmg@chromium.org> | 2015-08-10 04:25:09 (GMT) |
---|---|---|
committer | Scott Graham <scottmg@chromium.org> | 2015-08-10 04:25:09 (GMT) |
commit | a6265082f4d5e2ca08284117ae1a8f037379f5bf (patch) | |
tree | 35ef5a34d25d56d2fa5d77a1617ffde8191aadce /src/ninja.cc | |
parent | a4327b9fb07f1ea678e92c1f06aeb22c129827e2 (diff) | |
download | Ninja-a6265082f4d5e2ca08284117ae1a8f037379f5bf.zip Ninja-a6265082f4d5e2ca08284117ae1a8f037379f5bf.tar.gz Ninja-a6265082f4d5e2ca08284117ae1a8f037379f5bf.tar.bz2 |
Some mucking with std:: for set_terminate and terminate_handler
Diffstat (limited to 'src/ninja.cc')
-rw-r--r-- | src/ninja.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index 3756123..a3d963f 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -1156,7 +1156,7 @@ int main(int argc, char** argv) { #if defined(_MSC_VER) // Set a handler to catch crashes not caught by the __try..__except // block (e.g. an exception in a stack-unwind-block). - set_terminate(TerminateHandler); + std::set_terminate(TerminateHandler); __try { // Running inside __try ... __except suppresses any Windows error // dialogs for errors such as bad_alloc. |