msvc: Fix MSVC compilation and CI

This commit is contained in:
Antoine Soulier
2024-03-19 15:09:51 -07:00
committed by Antoine SOULIER
parent ae0fb3757f
commit bfea2c04c1
5 changed files with 56 additions and 32 deletions
+11
View File
@@ -173,4 +173,15 @@ struct lc3_decoder {
}
/**
* Change the visibility of interface functions
*/
#ifdef _WIN32
#define LC3_EXPORT __declspec(dllexport)
#else
#define LC3_EXPORT __attribute__((visibility ("default")))
#endif
#endif /* __LC3_PRIVATE_H */