diff --git a/driver/level2/trsv_U.c b/driver/level2/trsv_U.c index 9230c507a..152f72e98 100644 --- a/driver/level2/trsv_U.c +++ b/driver/level2/trsv_U.c @@ -42,7 +42,11 @@ const static FLOAT dm1 = -1.; -int __attribute__((visibility("hidden"))) CNAME(BLASLONG m, FLOAT *a, BLASLONG lda, FLOAT *b, BLASLONG incb, void *buffer){ +int +#ifndef MSVC +__attribute__((visibility("hidden"))) +#endif + CNAME(BLASLONG m, FLOAT *a, BLASLONG lda, FLOAT *b, BLASLONG incb, void *buffer){ BLASLONG i, is, min_i; FLOAT *gemvbuffer = (FLOAT *)buffer;