Add macOS support #34
Some checks are pending
BlockStorage/repertory/pipeline/head Build queued...

This commit is contained in:
2025-08-01 04:20:51 +02:00
parent d40ff7d14d
commit a0c412bd66
5 changed files with 19 additions and 14 deletions

View File

@@ -22,7 +22,7 @@
#ifndef REPERTORY_INCLUDE_COMMON_HPP_
#define REPERTORY_INCLUDE_COMMON_HPP_
#if defined(__GNUC__)
#if defined(__GNUC__) && !defined(PROJECT_IS_DARWIN)
// clang-format off
#define REPERTORY_IGNORE_WARNINGS_ENABLE() \
_Pragma("GCC diagnostic push") \

View File

@@ -98,7 +98,7 @@ private:
std::condition_variable notify_;
std::mutex start_stop_mutex_;
stop_type stop_requested_{false};
std::vector<std::unique_ptr<std::jthread>> task_threads_;
std::vector<std::unique_ptr<std::thread>> task_threads_;
std::deque<scheduled_task> tasks_;
private: