better support for custom eol

This commit is contained in:
gabime
2016-05-15 00:53:35 +03:00
parent 6760dcebc8
commit 10d5292bbb
5 changed files with 16 additions and 31 deletions

View File

@@ -20,11 +20,13 @@
#include <spdlog/details/null_mutex.h>
//visual studio upto 2013 does not support noexcept
//visual studio upto 2013 does not support noexcept nor constexpr
#if defined(_MSC_VER) && (_MSC_VER < 1900)
#define SPDLOG_NOEXCEPT throw()
#define SPDLOG_CONSTEXPR
#else
#define SPDLOG_NOEXCEPT noexcept
#define SPDLOG_CONSTEXPR constexpr
#endif