1
0
forked from boostorg/core

Go back to ::quick_exit, but include the correct <stdlib.h>; on Linux and Cygwin, quick_exit is not brought into std in C++03 mode

This commit is contained in:
Peter Dimov
2020-03-23 15:54:23 +02:00
parent 10c01d0d56
commit 5a5d2adda0

View File

@ -16,7 +16,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/config.hpp>
#include <cstdlib>
#include <stdlib.h>
#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
}