aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/compiler.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-10 19:19:19 -0400
committerJack Lloyd <[email protected]>2018-10-01 12:53:53 -0400
commit8eb900731da945d276f723534af09592213ee582 (patch)
treed080c6fd2ca760796b522d21288b0b4bfc0b6e65 /src/lib/utils/compiler.h
parenta792728e8941b62761052f5e0d288ba13a016c77 (diff)
Remove support for Visual C++ 2013
Closes GH #1557
Diffstat (limited to 'src/lib/utils/compiler.h')
-rw-r--r--src/lib/utils/compiler.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/lib/utils/compiler.h b/src/lib/utils/compiler.h
index 202b5cb75..0a2503513 100644
--- a/src/lib/utils/compiler.h
+++ b/src/lib/utils/compiler.h
@@ -59,14 +59,6 @@
#endif
/*
-* Define special macro when building under MSVC 2013 since there are
-* many compiler workarounds required for that version.
-*/
-#if defined(_MSC_VER) && (_MSC_VER < 1900)
- #define BOTAN_BUILD_COMPILER_IS_MSVC_2013
-#endif
-
-/*
* Define BOTAN_FUNC_ISA
*/
#if (defined(__GNUG__) && !defined(__clang__)) || (BOTAN_CLANG_VERSION > 38)
@@ -135,44 +127,6 @@
#endif
/*
-* Define BOTAN_CURRENT_FUNCTION
-*/
-#if defined(BOTAN_BUILD_COMPILER_IS_MSVC_2013)
- #define BOTAN_CURRENT_FUNCTION __FUNCTION__
-#else
- #define BOTAN_CURRENT_FUNCTION __func__
-#endif
-
-/*
-* Define BOTAN_NOEXCEPT (for MSVC 2013)
-*/
-#if defined(BOTAN_BUILD_COMPILER_IS_MSVC_2013)
- // noexcept is not supported in VS 2013
- #include <yvals.h>
- #define BOTAN_NOEXCEPT _NOEXCEPT
-#else
- #define BOTAN_NOEXCEPT noexcept
-#endif
-
-/*
-* Define BOTAN_CONSTEXPR (for MSVC 2013)
-*/
-#if defined(BOTAN_BUILD_COMPILER_IS_MSVC_2013)
- #define BOTAN_CONSTEXPR /**/
-#else
- #define BOTAN_CONSTEXPR constexpr
-#endif
-
-/*
-* Define BOTAN_ALIGNAS (for MSVC 2013)
-*/
-#if defined(BOTAN_BUILD_COMPILER_IS_MSVC_2013)
- #define BOTAN_ALIGNAS(n) /**/
-#else
- #define BOTAN_ALIGNAS(n) alignas(n)
-#endif
-
-/*
* Define BOTAN_PARALLEL_FOR
*/
#if !defined(BOTAN_PARALLEL_FOR)