#ifndef CONFIG_H #define CONFIG_H #include #ifndef _WIN32 #include #endif #ifdef WEBRTC_IOS #include #endif #if defined(_WIN32) #define LIBOPENTOK_LIBRARY_EXPORTED __declspec(dllexport) #elif defined(SWIG) #define LIBOPENTOK_LIBRARY_EXPORTED #else #define LIBOPENTOK_LIBRARY_EXPORTED __attribute__((__visibility__("default"))) #endif #if defined(__cplusplus) #define OTC_DECL(type) LIBOPENTOK_LIBRARY_EXPORTED type #define OTC_DEF(type) type #define OTC_BEGIN_DECL extern "C" { #define OTC_END_DECL } #else #define OTC_DECL(type) extern LIBOPENTOK_LIBRARY_EXPORTED type #define OTC_DEF(type) type #define OTC_BEGIN_DECL #define OTC_END_DECL #endif #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) #define IS_MAC_OS 1 #else #define IS_MAC_OS 0 #endif #if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) #define IS_LINUX 1 #else #define IS_LINUX 0 #endif #endif // CONFIG_H