#ifndef ali_rtc_engine_defined_h
#define ali_rtc_engine_defined_h

#ifdef __ANDROID__
#undef ALIRTCEXPORT
#define ALIRTCEXPORT __attribute__((visibility("default")))
#else
#define ALIRTCEXPORT 
#endif

#if defined(_WIN32)
#if defined(ALIRTCSDK_EXPORTS)
#define AOQ_API __declspec(dllexport)
#else
#define AOQ_API __declspec(dllimport)
#endif
#elif defined(__ANDROID__)
#define AOQ_API __attribute__((visibility("default")))
#elif defined(__APPLE__)
#include <TargetConditionals.h>
#define AOQ_API __attribute__((visibility ("default")))
#elif defined(__linux__) && !defined(__OHOS__)
#define AOQ_API __attribute__((visibility("default")))
#else
#define AOQ_API
#endif

#endif
