forked from boostorg/exception
Missing #include <stdlib.h> in tests
This commit is contained in:
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
#define BOOST_NO_EXCEPTIONS
|
#define BOOST_NO_EXCEPTIONS
|
||||||
#include <boost/throw_exception.hpp>
|
#include <boost/throw_exception.hpp>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
class my_exception: public std::exception { };
|
class my_exception: public std::exception { };
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
#define BOOST_NO_EXCEPTIONS
|
#define BOOST_NO_EXCEPTIONS
|
||||||
#define BOOST_EXCEPTION_DISABLE
|
#define BOOST_EXCEPTION_DISABLE
|
||||||
#include <boost/throw_exception.hpp>
|
#include <boost/throw_exception.hpp>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
class my_exception: public std::exception { };
|
class my_exception: public std::exception { };
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user