From 506d0efc32bd2956d068fdf4d892b73247ba2cdd Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 13 Aug 2021 16:08:17 -0600 Subject: [PATCH] compilation fix for windows (random() <=> rand() --- libs/ardour/triggerbox.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index d1a3f9da3b..d499265084 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -1,6 +1,10 @@ #include #include +#ifdef PLATFORM_WINDOWS +#define random() rand() +#endif + #include #include