aboutsummaryrefslogtreecommitdiff
path: root/cad/kicad-devel/files/patch-thirdparty_thread-pool_bs__thread__pool.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cad/kicad-devel/files/patch-thirdparty_thread-pool_bs__thread__pool.hpp')
-rw-r--r--cad/kicad-devel/files/patch-thirdparty_thread-pool_bs__thread__pool.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/kicad-devel/files/patch-thirdparty_thread-pool_bs__thread__pool.hpp b/cad/kicad-devel/files/patch-thirdparty_thread-pool_bs__thread__pool.hpp
new file mode 100644
index 000000000000..6b06c8ce0b2f
--- /dev/null
+++ b/cad/kicad-devel/files/patch-thirdparty_thread-pool_bs__thread__pool.hpp
@@ -0,0 +1,11 @@
+--- thirdparty/thread-pool/bs_thread_pool.hpp.orig 2025-09-14 18:08:58 UTC
++++ thirdparty/thread-pool/bs_thread_pool.hpp
+@@ -96,7 +96,7 @@ import std;
+ #endif
+ #endif
+
+-#if defined(__linux__)
++#if defined(__linux__) || defined (__FreeBSD__)
+ // On Linux, <sys/sysmacros.h> defines macros called `major` and `minor`. We undefine them here so the `version` struct can work.
+ #ifdef major
+ #undef major