Skip to content

Commit

Permalink
add CROW_MSVC_WORKAROUND and CROW_CAN_USE_CPP14 macro
Browse files Browse the repository at this point in the history
  • Loading branch information
ipkn committed Feb 20, 2015
1 parent 92cf40e commit 02f81f7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions include/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 02f81f7

Please sign in to comment.