mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
modified path on quoted #includes
Paths pointing to the root of the library where replaced for ones relatives to each file. For example, inside /include/spdlog/details/file_helper.h: This will look for os.h in /include/spdlog/details/spdlog/details/ which doesn't exists. replaced with:
This commit is contained in:
@@ -18,9 +18,9 @@
|
||||
#ifndef FMT_USE_WINDOWS_H
|
||||
#define FMT_USE_WINDOWS_H 0
|
||||
#endif
|
||||
#include "spdlog/fmt/bundled/format.h"
|
||||
#include "../../fmt/format.h"
|
||||
#if defined(SPDLOG_FMT_PRINTF)
|
||||
#include "spdlog/fmt/bundled/printf.h"
|
||||
#include "../../fmt/printf.h"
|
||||
#endif
|
||||
|
||||
#else //external fmtlib
|
||||
|
@@ -8,8 +8,8 @@
|
||||
// include external or bundled copy of fmtlib's ostream support
|
||||
//
|
||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||
#include "spdlog/fmt/fmt.h"
|
||||
#include "spdlog/fmt/bundled/ostream.h"
|
||||
#include "fmt/fmt.h"
|
||||
#include "fmt/bundled/ostream.h"
|
||||
#else
|
||||
#include <fmt/ostream.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user