mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
"#include" <spdlog/.*> instead of "spdlog/.*"
The meaning of using quotes to #include is implementation defined, so it may or not may be what we want. At least POSIX (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html) says: "headers whose names are enclosed in double-quotes ( "" ) shall be searched for first in the directory of the file with the #include line", so not what we want since "spdlog" ends up twice in the path.
This commit is contained in:
@@ -22,6 +22,6 @@
|
||||
#include "bundled/core.h"
|
||||
#include "bundled/format.h"
|
||||
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
|
||||
#include "fmt/core.h"
|
||||
#include "fmt/format.h"
|
||||
#include <fmt/core.h>
|
||||
#include <fmt/format.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user