From 892fe4b8ba57c24d28654b4f696c37e0ee419185 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 30 May 2022 20:07:34 -0400 Subject: Move REALTIME definition to jack.c --- src/jack.c | 6 ++++++ src/jalv_internal.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/jack.c b/src/jack.c index 2253d5a..021e5b7 100644 --- a/src/jack.c +++ b/src/jack.c @@ -38,6 +38,12 @@ #include #include +#ifdef __clang__ +# define REALTIME __attribute__((annotate("realtime"))) +#else +# define REALTIME +#endif + struct JalvBackendImpl { jack_client_t* client; ///< Jack client bool is_internal_client; ///< Running inside jackd diff --git a/src/jalv_internal.h b/src/jalv_internal.h index a841e80..538395d 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -37,12 +37,6 @@ #include #include -#ifdef __clang__ -# define REALTIME __attribute__((annotate("realtime"))) -#else -# define REALTIME -#endif - #ifdef __cplusplus extern "C" { #endif -- cgit v1.2.1