diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/settings.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/settings.h b/include/settings.h index e6b32cf..31a39e3 100644 --- a/include/settings.h +++ b/include/settings.h @@ -19,3 +19,17 @@ default to INFO */ #define CROW_LOG_LEVEL 1 + + +// compiler flags +#if __cplusplus >= 201402L +#define CROW_CAN_USE_CPP14 +#endif + +#if defined(_MSC_VER) +#if _MSC_VER < 1900 +#define CROW_MSVC_WORKAROUND +#define constexpr const +#define noexcept throw() +#endif +#endif |