X-Git-Url: https://git.syn-net.org/debian/?a=blobdiff_plain;f=src%2Fdatatypes.h;h=85ae9c40670022aaef9b746cd988938c6036dcb4;hb=9cfd2667ea33ecc2590aca729726992b9af1729d;hp=bce14dd7fe541e242786bbd66a5109a3aca1196d;hpb=65944fb7a518dc659bacaf80cf235a0352fc6a7e;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;