Skip to content

Commit

Permalink
Only define RADE_EXPORT if it's not already defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiw committed Nov 23, 2024
1 parent 8797ede commit 98cf722
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/opus-nnet.h.diff
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit 98cf722

Please sign in to comment.