You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/spdlog/files/spdlog-1.0.0-unbundle-fmt.p...

30 lines
700 B

diff --git a/include/spdlog/fmt/fmt.h b/include/spdlog/fmt/fmt.h
--- a/include/spdlog/fmt/fmt.h
+++ b/include/spdlog/fmt/fmt.h
@@ -17,9 +17,7 @@
#ifndef FMT_USE_WINDOWS_H
#define FMT_USE_WINDOWS_H 0
#endif
-#include "bundled/core.h"
-#include "bundled/format.h"
-#else // external fmtlib
+#endif // external fmtlib
+
#include <fmt/core.h>
#include <fmt/format.h>
-#endif
diff --git a/include/spdlog/fmt/ostr.h b/include/spdlog/fmt/ostr.h
--- a/include/spdlog/fmt/ostr.h
+++ b/include/spdlog/fmt/ostr.h
@@ -11,8 +11,6 @@
#ifndef FMT_HEADER_ONLY
#define FMT_HEADER_ONLY
#endif
-#include "bundled/ostream.h"
-#include "fmt.h"
-#else
-#include <fmt/ostream.h>
#endif
+
+#include <fmt/ostream.h>