diff --git a/include/spdlog/sinks/android_sink.h b/include/spdlog/sinks/android_sink.h index 0742b247..ae7f7733 100644 --- a/include/spdlog/sinks/android_sink.h +++ b/include/spdlog/sinks/android_sink.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #include "spdlog/details/fmt_helper.h" diff --git a/include/spdlog/sinks/ansicolor_sink.h b/include/spdlog/sinks/ansicolor_sink.h index bb2a2a12..7c5e3539 100644 --- a/include/spdlog/sinks/ansicolor_sink.h +++ b/include/spdlog/sinks/ansicolor_sink.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #include "spdlog/details/console_globals.h" diff --git a/include/spdlog/sinks/basic_file_sink.h b/include/spdlog/sinks/basic_file_sink.h index 0ab884aa..bc5fb5c3 100644 --- a/include/spdlog/sinks/basic_file_sink.h +++ b/include/spdlog/sinks/basic_file_sink.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #include "spdlog/details/file_helper.h" diff --git a/include/spdlog/sinks/daily_file_sink.h b/include/spdlog/sinks/daily_file_sink.h index d20de442..7bf7c448 100644 --- a/include/spdlog/sinks/daily_file_sink.h +++ b/include/spdlog/sinks/daily_file_sink.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #include "spdlog/details/file_helper.h" diff --git a/include/spdlog/sinks/dist_sink.h b/include/spdlog/sinks/dist_sink.h index 8ed41f1a..44de3913 100644 --- a/include/spdlog/sinks/dist_sink.h +++ b/include/spdlog/sinks/dist_sink.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #include "base_sink.h" diff --git a/include/spdlog/sinks/msvc_sink.h b/include/spdlog/sinks/msvc_sink.h index c8e60be7..f06c16c7 100644 --- a/include/spdlog/sinks/msvc_sink.h +++ b/include/spdlog/sinks/msvc_sink.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #if defined(_WIN32) diff --git a/include/spdlog/sinks/null_sink.h b/include/spdlog/sinks/null_sink.h index ffab7a52..54f322c4 100644 --- a/include/spdlog/sinks/null_sink.h +++ b/include/spdlog/sinks/null_sink.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #include "spdlog/details/null_mutex.h" diff --git a/include/spdlog/sinks/ostream_sink.h b/include/spdlog/sinks/ostream_sink.h index b28802a0..22e377b6 100644 --- a/include/spdlog/sinks/ostream_sink.h +++ b/include/spdlog/sinks/ostream_sink.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #include "spdlog/details/null_mutex.h" diff --git a/include/spdlog/sinks/rotating_file_sink.h b/include/spdlog/sinks/rotating_file_sink.h index 73c377d4..a579946f 100644 --- a/include/spdlog/sinks/rotating_file_sink.h +++ b/include/spdlog/sinks/rotating_file_sink.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #include "spdlog/details/file_helper.h" diff --git a/include/spdlog/sinks/stdout_color_sinks.h b/include/spdlog/sinks/stdout_color_sinks.h index f0475692..74bfceb4 100644 --- a/include/spdlog/sinks/stdout_color_sinks.h +++ b/include/spdlog/sinks/stdout_color_sinks.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #ifdef _WIN32 diff --git a/include/spdlog/sinks/stdout_sinks.h b/include/spdlog/sinks/stdout_sinks.h index efbbaaac..bf8e9790 100644 --- a/include/spdlog/sinks/stdout_sinks.h +++ b/include/spdlog/sinks/stdout_sinks.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #include "spdlog/details/console_globals.h" diff --git a/include/spdlog/sinks/syslog_sink.h b/include/spdlog/sinks/syslog_sink.h index 4df49b87..c3bcd844 100644 --- a/include/spdlog/sinks/syslog_sink.h +++ b/include/spdlog/sinks/syslog_sink.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #include "spdlog/sinks/base_sink.h" diff --git a/include/spdlog/sinks/wincolor_sink.h b/include/spdlog/sinks/wincolor_sink.h index 6e2b0122..1fdf8c56 100644 --- a/include/spdlog/sinks/wincolor_sink.h +++ b/include/spdlog/sinks/wincolor_sink.h @@ -6,7 +6,7 @@ #pragma once #ifndef SPDLOG_H -#error "spdlog.h must be included before this file." +#include "spdlog/spdlog.h" #endif #include "spdlog/common.h"