X-Git-Url: https://git.syn-net.org/debian/?a=blobdiff_plain;f=src%2Fdatatypes.h;h=85ae9c40670022aaef9b746cd988938c6036dcb4;hb=ad68eaec71b8cd401dcc4ee7a13bd0e18ce392b0;hp=bce14dd7fe541e242786bbd66a5109a3aca1196d;hpb=012bc15ee82b75957d9284160fb0a0089396f0d4;p=anytun.git diff --git a/src/datatypes.h b/src/datatypes.h index bce14dd..85ae9c4 100644 --- a/src/datatypes.h +++ b/src/datatypes.h @@ -48,6 +48,13 @@ #include #include +#include + +#ifndef BOOST_NO_NOEXCEPT +#define NOEXCEPT(x) noexcept(x) +#else +#define NOEXCEPT(x) +#endif // should not be necessary on GCC, #ifdef + #include should do the job; still required on MS VC++9, though. using boost::int8_t;