Loading...
Searching...
No Matches
Go to the documentation of this file. 1#ifndef MILLICAST_EXPORTS_H
2#define MILLICAST_EXPORTS_H
5#include <TargetConditionals.h>
6#if defined(TARGET_OS_IOS) && TARGET_OS_IOS == 1
7#ifndef MILLICAST_SDK_IOS
8#define MILLICAST_SDK_IOS
10#elif defined(TARGET_OS_TV) && TARGET_OS_TV == 1
11#ifndef MILLICAST_SDK_TVOS
12#define MILLICAST_SDK_TVOS
14#elif (defined(TARGET_OS_OSX) && TARGET_OS_OSX == 1) || \
15 (defined(TARGET_OS_MAC) && TARGET_OS_MAC == 1)
16#ifndef MILLICAST_SDK_MAC
17#define MILLICAST_SDK_MAC
20#elif defined(__ANDROID__)
21#ifndef MILLICAST_SDK_ANDROID
22#define MILLICAST_SDK_ANDROID
24#elif defined(__linux__)
25#ifndef MILLICAST_SDK_LINUX
26#define MILLICAST_SDK_LINUX
29#ifndef MILLICAST_SDK_WIN
30#define MILLICAST_SDK_WIN
34#ifdef MILLICAST_API_EXPORT
36#if defined MILLICAST_SDK_WIN
37#define MILLICAST_API __declspec(dllexport)
38#define MILLICAST_TEMPLATE_API
40#define MILLICAST_API __attribute__((visibility("default")))
41#define MILLICAST_TEMPLATE_API MILLICAST_API
46#define MILLICAST_TEMPLATE_API
48#ifdef MILLICAST_SDK_WIN
49#define MILLICAST_API __declspec(dllimport)