Skip to content
Snippets Groups Projects
Commit 57ebca16 authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

build: Limit fixes for logging custom type to fmt >= 9.0.0

parent d08f4c0c
Branches
No related tags found
No related merge requests found
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
#include "type.h" #include "type.h"
#include "optionparser.h" #include "optionparser.h"
#include "fileformat.h" #include "fileformat.h"
#if FMT_VERSION >= 90000
template <> struct fmt::formatter<imagefusion::Size> : ostream_formatter {}; template <> struct fmt::formatter<imagefusion::Size> : ostream_formatter {};
template <> struct fmt::formatter<imagefusion::Dimensions> : ostream_formatter {}; template <> struct fmt::formatter<imagefusion::Dimensions> : ostream_formatter {};
template <> struct fmt::formatter<imagefusion::Point> : ostream_formatter {}; template <> struct fmt::formatter<imagefusion::Point> : ostream_formatter {};
...@@ -64,6 +65,7 @@ ...@@ -64,6 +65,7 @@
template <> struct fmt::formatter<imagefusion::FileFormat> : ostream_formatter {}; template <> struct fmt::formatter<imagefusion::FileFormat> : ostream_formatter {};
#endif #endif
#endif
#define SPDLOG_SINGLE_TRACE(...) _Pragma("omp single nowait")\ #define SPDLOG_SINGLE_TRACE(...) _Pragma("omp single nowait")\
SPDLOG_TRACE(__VA_ARGS__) SPDLOG_TRACE(__VA_ARGS__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment