From 98cf722966c09081c7949c268ed5dc9343d97db6 Mon Sep 17 00:00:00 2001 From: Mooneer Salem Date: Fri, 22 Nov 2024 22:58:31 -0800 Subject: [PATCH] Only define RADE_EXPORT if it's not already defined. --- src/opus-nnet.h.diff | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/opus-nnet.h.diff b/src/opus-nnet.h.diff index 5b505ef..f31a1ea 100644 --- a/src/opus-nnet.h.diff +++ b/src/opus-nnet.h.diff @@ -1,6 +1,7 @@ -30a31,32 +30a31,33 +> #ifndef RADE_EXPORT > #define RADE_EXPORT __attribute__((visibility("default"))) -> +> #endif /* RADE_EXPORT */ 88,93c90,95 < void compute_generic_dense(const LinearLayer *layer, float *output, const float *input, int activation, int arch); < void compute_generic_gru(const LinearLayer *input_weights, const LinearLayer *recurrent_weights, float *state, const float *in, int arch);