From 5a5d2adda0fde11126c87f0c33899b60e00a8cf4 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 23 Mar 2020 15:54:23 +0200 Subject: [PATCH] Go back to ::quick_exit, but include the correct ; on Linux and Cygwin, quick_exit is not brought into std in C++03 mode --- include/boost/core/quick_exit.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/core/quick_exit.hpp b/include/boost/core/quick_exit.hpp index f05b6c2..40ead1d 100644 --- a/include/boost/core/quick_exit.hpp +++ b/include/boost/core/quick_exit.hpp @@ -16,7 +16,7 @@ // http://www.boost.org/LICENSE_1_0.txt) #include -#include +#include #if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR) @@ -49,7 +49,7 @@ BOOST_NORETURN void quick_exit( int code ) BOOST_NOEXCEPT #else - std::quick_exit( code ); + ::quick_exit( code ); #endif }