diff --git a/include/spdlog/sinks/android_sink.h b/include/spdlog/sinks/android_sink.h index 0742b2476..ae7f77336 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 bb2a2a12e..7c5e35390 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 0ab884aa9..bc5fb5c36 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 d20de4421..7bf7c4481 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 8ed41f1a9..44de3913f 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 c8e60be77..f06c16c75 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 ffab7a529..54f322c45 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 b28802a05..22e377b6e 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 73c377d4f..a579946fa 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 f0475692a..74bfceb49 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 efbbaaace..bf8e97908 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 4df49b876..c3bcd844a 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 6e2b01220..1fdf8c566 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"