mirror of
https://github.com/google/liblc3.git
synced 2026-06-18 16:42:27 +00:00
msvc: Fix MSVC compilation and CI
This commit is contained in:
committed by
Antoine SOULIER
parent
ae0fb3757f
commit
bfea2c04c1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user