diff options
Diffstat (limited to 'src/build-data/buildh.in')
-rw-r--r-- | src/build-data/buildh.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in index 02f2731d6..e9115132f 100644 --- a/src/build-data/buildh.in +++ b/src/build-data/buildh.in @@ -135,6 +135,14 @@ otherwise does a byte at a time write via a volatile pointer. #define BOTAN_DEPRECATED(msg) #endif +#if defined(_MSC_VER) + // noexcept is not supported in VS 2013 + #include <yvals.h> + #define BOTAN_NOEXCEPT _NOEXCEPT +#else + #define BOTAN_NOEXCEPT noexcept +#endif + /* * Module availability definitions */ |