Move syslog support tests to one place.

This commit is contained in:
Nazım Can Bedir
2016-08-22 16:39:13 +03:00
parent e556daebc3
commit 2678c37b56
5 changed files with 12 additions and 5 deletions

View File

@@ -37,6 +37,12 @@
#define DEPRECATED
#endif
#ifndef SPDLOG_ENABLE_SYSLOG
#if defined (__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
#define SPDLOG_ENABLE_SYSLOG
#endif
#endif
#include <spdlog/fmt/fmt.h>