aboutsummaryrefslogtreecommitdiff
path: root/audio/bespokesynth/files/patch-libs_ableton-link_include_ableton_platforms_Config.hpp
blob: f327eef986990171b5974e9b7263282505e07fa9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- libs/ableton-link/include/ableton/platforms/Config.hpp.orig	2023-11-14 04:52:16 UTC
+++ libs/ableton-link/include/ableton/platforms/Config.hpp
@@ -36,7 +36,7 @@
 #include <ableton/platforms/darwin/ThreadFactory.hpp>
 #include <ableton/platforms/posix/ScanIpIfAddrs.hpp>
 #include <ableton/platforms/stl/Random.hpp>
-#elif defined(LINK_PLATFORM_LINUX)
+#elif defined(LINK_PLATFORM_LINUX) || defined(__FreeBSD__)
 #include <ableton/platforms/asio/Context.hpp>
 #include <ableton/platforms/linux/Clock.hpp>
 #include <ableton/platforms/posix/ScanIpIfAddrs.hpp>
@@ -77,7 +77,7 @@ using IoContext = platforms::asio::Context<platforms::
   platforms::darwin::ThreadFactory>;
 using Random = platforms::stl::Random;
 
-#elif defined(LINK_PLATFORM_LINUX)
+#elif defined(LINK_PLATFORM_LINUX) || defined(__FreeBSD__)
 using Clock = platforms::linux::ClockMonotonicRaw;
 using Random = platforms::stl::Random;
 #ifdef __linux__