Source release 17.1.1
This commit is contained in:
@@ -12,20 +12,28 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
// Uncomment this line when making static CDM builds. This will be edited by
|
||||
// release scripts.
|
||||
//#define CDM_STATIC 1
|
||||
|
||||
// Define CDM_EXPORT to export functionality across shared library boundaries.
|
||||
#if defined(_WIN32)
|
||||
# if defined(CDM_IMPLEMENTATION)
|
||||
# define CDM_EXPORT __declspec(dllexport)
|
||||
# else
|
||||
# define CDM_EXPORT __declspec(dllimport)
|
||||
# endif // defined(CDM_IMPLEMENTATION)
|
||||
#else // defined(_WIN32)
|
||||
# if defined(CDM_IMPLEMENTATION)
|
||||
# define CDM_EXPORT __attribute__((visibility("default")))
|
||||
# else
|
||||
# define CDM_EXPORT
|
||||
# endif
|
||||
#endif // defined(_WIN32)
|
||||
#if defined(CDM_STATIC)
|
||||
# define CDM_EXPORT
|
||||
#else
|
||||
# if defined(_WIN32)
|
||||
# if defined(CDM_IMPLEMENTATION)
|
||||
# define CDM_EXPORT __declspec(dllexport)
|
||||
# else
|
||||
# define CDM_EXPORT __declspec(dllimport)
|
||||
# endif // defined(CDM_IMPLEMENTATION)
|
||||
# else // defined(_WIN32)
|
||||
# if defined(CDM_IMPLEMENTATION)
|
||||
# define CDM_EXPORT __attribute__((visibility("default")))
|
||||
# else
|
||||
# define CDM_EXPORT
|
||||
# endif
|
||||
# endif // defined(_WIN32)
|
||||
#endif // defined(CDM_STATIC)
|
||||
|
||||
namespace widevine {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user